Commit e3495a26 authored by Julian Rother's avatar Julian Rother
Browse files

Fixed imports broken by e8802537

parent bc5e4397
from server import *
import threading
import sched
from time import sleep
scheduler = sched.scheduler()
def run_scheduler():
time.sleep(1) # UWSGI does weird things on startup
sleep(1) # UWSGI does weird things on startup
while True:
scheduler.run()
time.sleep(10)
sleep(10)
def sched_func(delay, priority=0, firstdelay=None, args=[], kargs={}):
if firstdelay == None:
......
......@@ -14,7 +14,6 @@ import math
import locale
import base64
import json
import time
locale.setlocale(locale.LC_ALL, 'de_DE.utf8')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment