Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
zoidy committed Apr 16, 2024
1 parent 6d9223c commit f82cea8
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 @@ -515,7 +515,7 @@ def get_file_size_of_given_path(self, dir_path, include_only=""):
fp = os.path.join(path, f)
try:
size += os.path.getsize(fp)
except:
except Exception as e:

Check failure on line 518 in figshare/Article.py

View workflow job for this annotation

GitHub Actions / lint

local variable 'e' is assigned to but never used
pass

return size
Expand Down

0 comments on commit f82cea8

Please sign in to comment.