aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xopen_media.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/open_media.py b/open_media.py
index 0e3fa99..329b1ed 100755
--- a/open_media.py
+++ b/open_media.py
@@ -73,7 +73,8 @@ def main():
media_path = os.path.join(download_dir, item)
if media_path in files_in_media_path:
filtered_downloaded_list.append(item)
-
+
+ os.makedirs(os.path.expanduser("~/.config/automedia"), exists_ok=True)
seen_filepath = os.path.expanduser("~/.config/automedia/seen")
seen_list = []
try: