diff --git a/capturer/capturer.py b/capturer/capturer.py index d8a1bff..3acda04 100644 --- a/capturer/capturer.py +++ b/capturer/capturer.py @@ -64,7 +64,8 @@ class Capturer: task._update_status("Captura inserted") logging.info("New ad inserted.") - def _in_working_hours(self) -> bool: + @staticmethod + def _in_working_hours() -> bool: """ Checks whether now is within the working hours of the daemon. :return: True if so, false if not