Skip to content

Commit

Permalink
fix un-integeresque Qt version string
Browse files Browse the repository at this point in the history
  • Loading branch information
Henri Wahl committed Apr 17, 2024
1 parent 2ce6dca commit 4fc3ff9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Nagstamon/Config.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ class AppInfo(object):
contains app information previously located in GUI.py
"""
NAME = 'Nagstamon'
VERSION = '3.15-20240326'
VERSION = '3.15-20240417'
WEBSITE = 'https://nagstamon.de'
COPYRIGHT = '©2008-2024 Henri Wahl et al.'
COMMENTS = 'Nagios status monitor for your desktop'
Expand Down
4 changes: 2 additions & 2 deletions Nagstamon/QUI/qt.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@
from PyQt6.QtCore import PYQT_VERSION_STR as QT_VERSION_STR

# get int-ed version parts
QT_VERSION_MAJOR, QT_VERSION_MINOR, QT_VERSION_BUGFIX = [int(x) for x in QT_VERSION_STR.split('.')]
QT_VERSION_MAJOR, QT_VERSION_MINOR = [int(x) for x in QT_VERSION_STR.split('.')][0:2]
# for later decision which differences have to be considered
QT_FLAVOR = 'PyQt6'
except ImportError:
try:
from PyQt5.QtCore import PYQT_VERSION_STR as QT_VERSION_STR
# get int-ed version parts
QT_VERSION_MAJOR, QT_VERSION_MINOR, QT_VERSION_BUGFIX = [int(x) for x in QT_VERSION_STR.split('.')]
QT_VERSION_MAJOR, QT_VERSION_MINOR = [int(x) for x in QT_VERSION_STR.split('.')][0:2]
# for later decision which differences have to be considered
QT_FLAVOR = 'PyQt5'
except ImportError:
Expand Down
4 changes: 2 additions & 2 deletions build/debian/changelog
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
nagstamon (3.15-20240326) unstable; urgency=low
nagstamon (3.15-20240417) unstable; urgency=low
* New upstream

-- Henri Wahl <[email protected]> Tue, Mar 26 2024 08:00:00 +0200
-- Henri Wahl <[email protected]> Wed, Apr 17 2024 08:00:00 +0200

nagstamon (3.14.0) stable; urgency=low
* New upstream
Expand Down

0 comments on commit 4fc3ff9

Please sign in to comment.