diff --git a/libraries/entropy/db.py b/libraries/entropy/db.py index e63cf85f6..4c08098cc 100644 --- a/libraries/entropy/db.py +++ b/libraries/entropy/db.py @@ -3043,7 +3043,7 @@ class EntropyRepository: if dbcounter: mycounter = dbcounter[0] - if mycounter >= -1: + if mycounter >= -1 or mycounter is None: counter = -2 else: counter = mycounter-1