refactor: only import DB_PATH once

This commit is contained in:
2026-04-01 17:15:57 +02:00
parent 023b203e2b
commit 99d1fbbbec
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ def launcher(
if debug:
enable_debug()
_player = player
_db_path = str(Path(db_path).resolve()) if db_path else None
_db_path = str(Path(db_path).resolve()) if db_path else DB_PATH
global manager
manager = LrcManager(db_path=_db_path)
app(tokens)