Skip to content

Commit

Permalink
not equals is the check we need to see if commands don't match
Browse files Browse the repository at this point in the history
  • Loading branch information
JaimieMurdock committed Feb 10, 2016
1 parent 09add4f commit 0227c41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion topicexplorer/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def update():
if update_available:
if platform.system() == 'Windows':
import sys
if sys.argv[0] == __file__:
if sys.argv[0] != __file__:
print "Update available. Use the `python -m topicexplorer.update` command to update."
return

Expand Down

0 comments on commit 0227c41

Please sign in to comment.