diff --git a/tubearchivist/home/src/download/yt_cookie.py b/tubearchivist/home/src/download/yt_cookie.py index 1afe8ce..0bb65e3 100644 --- a/tubearchivist/home/src/download/yt_cookie.py +++ b/tubearchivist/home/src/download/yt_cookie.py @@ -46,7 +46,7 @@ class CookieHandler: """hide cookie file if not in use""" try: os.remove(self.COOKIE_PATH) - except FileExistsError: + except FileNotFoundError: print("cookie: not available") return