Skip to content

Commit

Permalink
Code quality improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
John Matherly committed Sep 23, 2018
1 parent a934507 commit 1025723
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion shodan/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def download(limit, filename, query):

if count >= limit:
break
except:
except Exception:
pass

# Let the user know we're done
Expand Down
2 changes: 1 addition & 1 deletion shodan/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def iterate_files(files, fast=False):
# pylint: disable=E0401
try:
from ujson import loads
except:
except Exception:
pass

if isinstance(files, basestring):
Expand Down

0 comments on commit 1025723

Please sign in to comment.