Fix stuff to make project run on Windows
This commit is contained in:
@@ -14,7 +14,7 @@ from infoscreen.models import HSLDataModel
|
|||||||
class HSLFetcher:
|
class HSLFetcher:
|
||||||
"""Main class of Infoscreen HSL fetcher."""
|
"""Main class of Infoscreen HSL fetcher."""
|
||||||
|
|
||||||
last_fetched = datetime.fromtimestamp(0) # epoch
|
last_fetched = datetime.fromtimestamp(86400) # epoch
|
||||||
INTERVAL = 1 # minutes
|
INTERVAL = 1 # minutes
|
||||||
logging.info(
|
logging.info(
|
||||||
"Set up scheduled HSL API fetch every {} minutes".format(INTERVAL))
|
"Set up scheduled HSL API fetch every {} minutes".format(INTERVAL))
|
||||||
|
|||||||
+1
-1
@@ -9,7 +9,7 @@ ptyprocess==0.5.1
|
|||||||
pytz==2016.4
|
pytz==2016.4
|
||||||
simplegeneric==0.8.1
|
simplegeneric==0.8.1
|
||||||
traitlets==4.2.1
|
traitlets==4.2.1
|
||||||
Pillow==3.3.1
|
Pillow==4.3.0
|
||||||
requests==2.11.1
|
requests==2.11.1
|
||||||
django-nocaptcha-recaptcha==0.0.19
|
django-nocaptcha-recaptcha==0.0.19
|
||||||
django-cors-headers==2.0.1
|
django-cors-headers==2.0.1
|
||||||
|
|||||||
Reference in New Issue
Block a user