Skip to content

Commit

Permalink
Fix Merge
Browse files Browse the repository at this point in the history
  • Loading branch information
dahbar committed Jan 2, 2024
1 parent 03ddfa8 commit 5b49ab8
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions polarion_rest_api_client/data_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,6 @@ def calculate_checksum(self) -> str:
del data["checksum"]
del data["id"]

for attachment in data["attachments"]:
try:
attachment["content_bytes"] = base64.b64encode(
attachment["content_bytes"]
).decode("utf8")
except TypeError:
pass

data = dict(sorted(data.items()))

converted = json.dumps(data).encode("utf8")
Expand Down

0 comments on commit 5b49ab8

Please sign in to comment.