From 1b2778ca7aa2cf3d338e863d4d219cc21a707a16 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Sat, 28 Mar 2020 16:56:06 -0700 Subject: [PATCH] Rename ycdl_flask.py to common.py. --- frontends/ycdl_flask/backend/__init__.py | 4 ++-- frontends/ycdl_flask/backend/{ycdl_flask.py => common.py} | 0 frontends/ycdl_flask/ycdl_flask_launch.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename frontends/ycdl_flask/backend/{ycdl_flask.py => common.py} (100%) 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()