Skip to content

Commit 77c1c24

Browse files
Merge pull request #28 from shinnkka/master
use dynamic data path
2 parents f47a05f + b4002ba commit 77c1c24

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

fuo_ytmusic/consts.py

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

0 commit comments

Comments
 (0)