Skip to content

Commit

Permalink
Fix missing version in backoff
Browse files Browse the repository at this point in the history
  • Loading branch information
urschrei committed Oct 4, 2023
1 parent aff2c5b commit 2931861
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyzotero/zotero.py
Original file line number Diff line number Diff line change
Expand Up @@ -1995,7 +1995,7 @@ def _upload_file(self, authdata, attachment, reg_key):
upload = requests.post(
url=authdata["url"],
files=upload_pairs,
headers={"User-Agent": "Pyzotero/%s" % __version__},
headers={"User-Agent": "Pyzotero/%s" % pz.__version__},
)
except requests.exceptions.ConnectionError:
raise ze.UploadError("ConnectionError")
Expand Down

0 comments on commit 2931861

Please sign in to comment.