Turned method static.
This commit is contained in:
parent
43236c2884
commit
f53a65834b
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue