ttrss: Allow upgrade to version 21

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
James Valleroy 2021-08-16 11:36:57 -04:00
parent b0592e7cd5
commit 81391ed820
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -124,9 +124,9 @@ def force_upgrade(helper, packages):
if 'tt-rss' not in packages:
return False
# Allow tt-rss any lower version to upgrade to 19.8.*
# Allow tt-rss any lower version to upgrade to 21.*
package = packages['tt-rss']
if Version(package['new_version']) > Version('19.9~'):
if Version(package['new_version']) > Version('22~'):
return False
helper.install(['tt-rss'], force_configuration='new')