This commit is contained in:
Emmanuel Viennet 2024-01-17 23:51:45 +01:00
parent f55f3fe82f
commit e2ca673239

View File

@ -977,7 +977,7 @@ def signal_assiduites_group():
moduleimpl_id = int(moduleimpl_id)
except (TypeError, ValueError):
moduleimpl_id = None
if moduleimpl_id >= 0 and moduleimpl_id is not None:
if moduleimpl_id is not None and moduleimpl_id >= 0:
modimpl = ModuleImpl.get_modimpl(moduleimpl_id)
else:
modimpl = None