Add scheduler timezone

This commit is contained in:
ShadowNinja
2015-01-09 17:13:55 -05:00
parent 3e59b9c8ca
commit 2a5242eb68

View File

@@ -6,7 +6,7 @@ from apscheduler.schedulers.background import BackgroundScheduler
from flask import Flask, request, send_from_directory
sched = BackgroundScheduler()
sched = BackgroundScheduler(timezone="UTC")
sched.start()
app = Flask(__name__, static_url_path = "")