diff --git a/frontends/ycdl_flask/backend/__init__.py b/frontends/ycdl_flask/backend/__init__.py index e7fe26c..c36d06c 100644 --- a/frontends/ycdl_flask/backend/__init__.py +++ b/frontends/ycdl_flask/backend/__init__.py @@ -1,3 +1,3 @@ -from . import ycdl_flask +from . import common -site = ycdl_flask.site +site = common.site diff --git a/frontends/ycdl_flask/backend/ycdl_flask.py b/frontends/ycdl_flask/backend/common.py similarity index 100% rename from frontends/ycdl_flask/backend/ycdl_flask.py rename to frontends/ycdl_flask/backend/common.py diff --git a/frontends/ycdl_flask/ycdl_flask_launch.py b/frontends/ycdl_flask/ycdl_flask_launch.py index bdaad4f..ffc4bad 100644 --- a/frontends/ycdl_flask/ycdl_flask_launch.py +++ b/frontends/ycdl_flask/ycdl_flask_launch.py @@ -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()