diff --git a/app/src/infos.py b/app/src/infos.py index 9e324d0..69afcdd 100644 --- a/app/src/infos.py +++ b/app/src/infos.py @@ -113,7 +113,10 @@ class Infos: return None # unknwon idx, not in __info_defs - def ignore_this_device(self, dep) -> bool: + def ignore_this_device(self, dep:dict) -> bool: + '''Checks the equation in the dep dict + + returns 'False' only if the equation is valid; 'True' in any other case''' if 'reg' in dep: value = self.dev_value(dep['reg']) if not value: return True