From c7d16926f42e63118c09197947107f2f66daa30f Mon Sep 17 00:00:00 2001 From: Joel Klein Date: Sun, 29 Sep 2024 20:07:42 +0200 Subject: [PATCH] fix update message --- app.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app.py b/app.py index 44deff2..a9367e9 100644 --- a/app.py +++ b/app.py @@ -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: