diff --git a/app/views/assiduites.py b/app/views/assiduites.py index 96e400213..d541eb9ff 100644 --- a/app/views/assiduites.py +++ b/app/views/assiduites.py @@ -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