mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Merge pull request #1655 from YunoHost/fix-notifs
This commit is contained in:
commit
d5cc3dc13d
1 changed files with 1 additions and 0 deletions
|
@ -3131,6 +3131,7 @@ def _notification_is_dismissed(name, settings):
|
|||
|
||||
def _filter_and_hydrate_notifications(notifications, current_version=None, data={}):
|
||||
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