Skip to content

Commit

Permalink
fix update message
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe2824 committed Sep 29, 2024
1 parent e8b3092 commit c7d1692
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,8 @@ def check_for_update(self):
if not releases:
return

if releases[0]['tag_name'] != VERSION and not 'DEV VERSION':
if releases[0]['tag_name'] != VERSION and not VERSION == 'DEV VERSION':
print('HIER')
self.msg_box(title='Eine neue Version ist verfügbar!', text='Update verfügbar', icon=QMessageBox.Icon.Information,
buttonText='Update herunterladen', buttonClick=lambda: QDesktopServices.openUrl(QUrl('https://github.com/joe2824/wettkampftools/releases')))
except Exception:
Expand Down

0 comments on commit c7d1692

Please sign in to comment.