Skip to content

Commit 76fc97e

Browse files
committed
rename run_app to create_app
1 parent f4bc525 commit 76fc97e

File tree

6 files changed

+3
-2813
lines changed

6 files changed

+3
-2813
lines changed

.TODO.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

locustfile.py

Lines changed: 0 additions & 15 deletions
This file was deleted.

main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from app.arg_handler import handle_build, handle_password_reset
77
from app.utils.filesystem import get_home_res_path
88
from app.utils.xdg_utils import get_xdg_config_dir
9-
from manage import run_app
9+
from manage import create_app
1010

1111

1212
def version(*args, **kwargs):
@@ -71,7 +71,7 @@ def run(*args, **kwargs):
7171
os.environ["SWINGMUSIC_XDG_CONFIG_DIR"] = str(
7272
pathlib.Path(kwargs["config"]).resolve()
7373
)
74-
run_app(kwargs["host"], kwargs["port"], kwargs["config"])
74+
create_app(kwargs["host"], kwargs["port"], kwargs["config"])
7575

7676

7777
if __name__ == "__main__":

manage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
from app.utils.paths import getClientFilesExtensions
3030

3131

32-
def run_app(host: str, port: int, config: Path):
32+
def create_app(host: str, port: int, config: Path):
3333
# settings.Paths.set_config_dir(config)
3434

3535
# Load mimetypes for the web client's static files

notconfig.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)