Skip to content

Commit

Permalink
Merge pull request #85 from jesper-raemaekers/SonarQube
Browse files Browse the repository at this point in the history
fixed reserved name #81
  • Loading branch information
jesper-raemaekers authored Aug 11, 2022
2 parents 07b6cf5 + adfd791 commit 33022b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions polarion/testrun.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
"""
Expand Down

0 comments on commit 33022b0

Please sign in to comment.