mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Fix current_version parsing for notifications
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
This commit is contained in:
parent
8fbdd228ab
commit
667612619b
1 changed files with 1 additions and 0 deletions
|
@ -3130,6 +3130,7 @@ 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):
|
||||
# Boring code to handle the fact that "0.1 < 9999~ynh1" is False
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue