Skip to content
Snippets Groups Projects
Commit e3495a26 authored by Julian Rother's avatar Julian Rother
Browse files

Fixed imports broken by e8802537

parent bc5e4397
No related branches found
No related tags found
No related merge requests found
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')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment