Refactored
This commit is contained in:
+1
-1
@@ -99,7 +99,7 @@ def request_loop(_wc_list: list[WeCollector]):
|
|||||||
while True:
|
while True:
|
||||||
start = time.time()
|
start = time.time()
|
||||||
_date = get_date()
|
_date = get_date()
|
||||||
timestamp = create_timestamp()
|
|
||||||
# Reset on start up or day change
|
# Reset on start up or day change
|
||||||
if date_has_changed(_date_last, _date):
|
if date_has_changed(_date_last, _date):
|
||||||
_date_last = _date
|
_date_last = _date
|
||||||
|
|||||||
Reference in New Issue
Block a user