mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Fix str(current_version)
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
This commit is contained in:
parent
667612619b
commit
328d9276f0
1 changed files with 1 additions and 1 deletions
|
@ -3130,8 +3130,8 @@ def _notification_is_dismissed(name, settings):
|
|||
|
||||
|
||||
def _filter_and_hydrate_notifications(notifications, current_version=None, data={}):
|
||||
current_version=str(current_version)
|
||||
def is_version_more_recent_than_current_version(name):
|
||||
current_version = str(current_version)
|
||||
# Boring code to handle the fact that "0.1 < 9999~ynh1" is False
|
||||
|
||||
if "~" in name:
|
||||
|
|
Loading…
Add table
Reference in a new issue