From 1b307712ebfa62c76d6440047a96b143760bf331 Mon Sep 17 00:00:00 2001 From: Michael Kuperfish Steinberg <36902556+Michael-K-Stein@users.noreply.github.com> Date: Thu, 5 Jan 2023 14:53:09 +0200 Subject: [PATCH] Fix startup to new name & tab openning --- .gitignore | 3 ++- main.py | 7 ++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index ba0430d..c996310 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -__pycache__/ \ No newline at end of file +__pycache__/ +*.json \ No newline at end of file diff --git a/main.py b/main.py index c969e6f..883cead 100644 --- a/main.py +++ b/main.py @@ -3,15 +3,16 @@ from webgui import app import spotify_mass_download from spotify_mass_download import full_download, save_globals_save_file from threading import Thread +import webbrowser def main(): - print(f'Spotify Fuzzer') - print('\n\n\n') - + print(f'=== SpotiFile ===') spotify_mass_download.g_keep_saving += 1 save_globals_save_file_thread = Thread(target=save_globals_save_file) save_globals_save_file_thread.start() + + webbrowser.open('http://127.0.0.1:8888/') app.run(host='127.0.0.1', port=8888, debug=False) spotify_mass_download.g_keep_saving -= 1