Skip to content

Commit

Permalink
lint Article.py
Browse files Browse the repository at this point in the history
  • Loading branch information
zoidy authored Oct 26, 2023
1 parent fd17e37 commit 44e5e58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion figshare/Article.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ def __download_files(self, files, version_data, folder_name):

status_code = -1
with http.get(file['download_url'], stream=True, allow_redirects=True,
headers={'Authorization': 'token ' + self.api_token}) as r:
headers={'Authorization': 'token ' + self.api_token}) as r:
r.raise_for_status()
try:
with open(file_name_with_path, 'wb') as f:
Expand Down

0 comments on commit 44e5e58

Please sign in to comment.