Skip to content
This repository has been archived by the owner on Feb 14, 2018. It is now read-only.

Commit

Permalink
fix update logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Marocco2 committed Mar 8, 2016
1 parent 170bf02 commit cf07e63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/python/PitConfig/PitConfig.py
Expand Up @@ -38,7 +38,7 @@
r = requests.get('https://api.github.com/repos/Marocco2/PitConfig-Marocco2-version/releases/latest')
request = r.json()
lastversion = request['tag_name']
if version == lastversion:
if version != lastversion:
subprocess.Popen(["apps\python\PitConfig\CheckNewVersion.exe"])

user32 = ctypes.windll.user32
Expand Down

0 comments on commit cf07e63

Please sign in to comment.