From 07f92fbd56ea7406f6e655082accb4c38be81497 Mon Sep 17 00:00:00 2001 From: Daniele Simonetti Date: Fri, 11 Feb 2022 03:11:10 +0530 Subject: [PATCH] hotfix pack version check --- l5r/api/character/books.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/l5r/api/character/books.py b/l5r/api/character/books.py index 418b14e..f6f8ad4 100644 --- a/l5r/api/character/books.py +++ b/l5r/api/character/books.py @@ -91,7 +91,7 @@ def get_missing_dependencies(): elif not loaded_pack.active: log.api.warning(u"referenced pack %s is not active", br.id) yield br - elif api.ver_cmp(loaded_pack.version, br.version): + elif api.ver_cmp(loaded_pack.version, br.version) < 0: log.api.warning(u"referenced pack %s is outdated. referenced %s, loaded %s", br.id, br.version, loaded_pack.version) yield br