Skip to content

Commit

Permalink
fix invalid syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
rev1si0n authored Jun 23, 2019
1 parent c12fdd7 commit c211400
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/binwalk/core/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def _get_user_dir(self):
user_dir = os.getenv(envname)
if user_dir is not None:
return user_dir
if os.path.expanduser("~") is Not None:
if os.path.expanduser("~") is not None:
return os.path.expanduser("~")
except KeyboardInterrupt as e:
raise e
Expand Down

0 comments on commit c211400

Please sign in to comment.