aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmangadex-upgrade.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/mangadex-upgrade.py b/mangadex-upgrade.py
index 36533fa..b46980d 100755
--- a/mangadex-upgrade.py
+++ b/mangadex-upgrade.py
@@ -105,6 +105,9 @@ if __name__ == "__main__":
exit(0)
tracked_dir = os.path.expanduser("~/.config/automedia/html/tracked")
+ if not os.path.isdir(tracked_dir):
+ exit(0)
+
manga_list = []
for manga_name in os.listdir(tracked_dir):
manga_tracked_dir = os.path.join(tracked_dir, manga_name)