Fix stuff to make project run on Windows

This commit is contained in:
Jan Tuomi
2017-10-25 19:01:04 +03:00
parent 601050baf6
commit 7eb4bc146b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
View File
@@ -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