Skip to content

Commit 8f15eb3

Browse files
committed
completed switching from appdirs to platformdirs
1 parent 931cc82 commit 8f15eb3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

sandbox/test_appdirs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import appdirs
1+
import platformdirs
22

33
# get current version
44
# get current paths (ffmpeg/ffprobe)
@@ -7,4 +7,4 @@
77

88
app = "ffmpeg-downloader", "python-ffmpegio"
99

10-
print(appdirs.user_data_dir(*app))
10+
print(platformdirs.user_data_dir(*app))

src/ffmpeg_downloader/_path.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from os import path
2-
from appdirs import user_data_dir
2+
from platformdirs import user_data_dir
33

44
def get_dir():
55
return user_data_dir("ffmpeg-downloader", "ffmpegio")

0 commit comments

Comments
 (0)