From adfd7913aea636fbae65ccc3522650ddc3823010 Mon Sep 17 00:00:00 2001 From: "jesper.raemaekers" <76244626+jesper-raemaekers@users.noreply.github.com> Date: Thu, 11 Aug 2022 22:13:54 +0200 Subject: [PATCH] fixed reserved name #81 --- polarion/testrun.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/polarion/testrun.py b/polarion/testrun.py index 8a194e2..62c6fbd 100644 --- a/polarion/testrun.py +++ b/polarion/testrun.py @@ -119,9 +119,9 @@ def saveAttachmentAsFile(self, file_name, file_path): :param file_name: The attachment file name :param file_path: File where to save the attachment """ - bin = self.getAttachment(file_name) + binary = self.getAttachment(file_name) with open(file_path, "wb") as file: - file.write(bin) + file.write(binary) def deleteAttachment(self, file_name): """