Fix stuff to make project run on Windows
This commit is contained in:
@@ -14,7 +14,7 @@ from infoscreen.models import HSLDataModel
|
||||
class HSLFetcher:
|
||||
"""Main class of Infoscreen HSL fetcher."""
|
||||
|
||||
last_fetched = datetime.fromtimestamp(0) # epoch
|
||||
last_fetched = datetime.fromtimestamp(86400) # epoch
|
||||
INTERVAL = 1 # minutes
|
||||
logging.info(
|
||||
"Set up scheduled HSL API fetch every {} minutes".format(INTERVAL))
|
||||
|
||||
Reference in New Issue
Block a user