Skip to content

Commit

Permalink
fix lint for pycodestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremylow committed Feb 16, 2017
1 parent 97c0baf commit a779827
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion twitter/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1263,7 +1263,7 @@ def _UploadMediaChunkedAppend(self,

try:
media_fp.close()
except:
except Exception as e:
pass

return True
Expand Down
2 changes: 1 addition & 1 deletion twitter/twitter_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def parse_media_file(passed_media):

try:
data_file.seek(0)
except:
except Exception as e:
pass

media_type = mimetypes.guess_type(os.path.basename(filename))[0]
Expand Down

0 comments on commit a779827

Please sign in to comment.