mirror of
https://github.com/tubearchivist/tubearchivist.git
synced 2025-07-11 19:48:16 +00:00
fix FileNotFoundError in cookie hide
This commit is contained in:
parent
088e87bccf
commit
487c81d50b
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user