Rename ycdl_flask.py to common.py.
This commit is contained in:
parent
790fbd7b9a
commit
1b2778ca7a
3 changed files with 3 additions and 3 deletions
|
@ -1,3 +1,3 @@
|
|||
from . import ycdl_flask
|
||||
from . import common
|
||||
|
||||
site = ycdl_flask.site
|
||||
site = common.site
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue