mirror of
https://github.com/nathom/streamrip.git
synced 2025-05-16 16:14:49 -04:00
Use appdirs instead of click
This commit is contained in:
parent
286ff502b5
commit
936975a681
1 changed files with 2 additions and 3 deletions
|
@ -2,12 +2,11 @@
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
|
from appdirs import user_config_dir
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
from click import style, secho
|
|
||||||
|
|
||||||
APPNAME = "streamrip"
|
APPNAME = "streamrip"
|
||||||
APP_DIR = get_app_dir(APPNAME)
|
APP_DIR = user_config_dir(APPNAME)
|
||||||
HOME = Path.home()
|
HOME = Path.home()
|
||||||
|
|
||||||
LOG_DIR = CACHE_DIR = CONFIG_DIR = APP_DIR
|
LOG_DIR = CACHE_DIR = CONFIG_DIR = APP_DIR
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue