Skip to content

Commit 72bbaf4

Browse files
committed
use dynamic data path
1 parent f47a05f commit 72bbaf4

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

fuo_ytmusic/consts.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
from pathlib import Path
2-
3-
HEADER_FILE = Path.home() / ".FeelUOwn" / "data" / "ytmusic_header.json"
1+
from feeluown.consts import DATA_DIR
2+
HEADER_FILE = DATA_DIR / "ytmusic_header.json"
43
REQUIRED_COOKIE_FIELDS = [
54
"HSID",
65
"SSID",

0 commit comments

Comments
 (0)