Turned method static.

This commit is contained in:
pablo 2020-11-03 14:00:51 +01:00
parent 43236c2884
commit f53a65834b

View file

@ -64,7 +64,8 @@ class Capturer:
task._update_status("Captura inserted") task._update_status("Captura inserted")
logging.info("New ad 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. Checks whether now is within the working hours of the daemon.
:return: True if so, false if not :return: True if so, false if not