Rename ycdl_flask.py to common.py.

This commit is contained in:
voussoir 2020-03-28 16:56:06 -07:00
parent 790fbd7b9a
commit 1b2778ca7a
3 changed files with 3 additions and 3 deletions

View file

@ -1,3 +1,3 @@
from . import ycdl_flask
from . import common
site = ycdl_flask.site
site = common.site

View file

@ -25,7 +25,7 @@ def ycdl_flask_launch(port, refresh_rate):
)
if refresh_rate is not None:
backend.ycdl_flask.start_refresher_thread(refresh_rate)
backend.common.start_refresher_thread(refresh_rate)
print(f'Starting server on port {port}')
http.serve_forever()