fix FileNotFoundError in cookie hide

pull/236/head^2
simon 2 years ago
parent 088e87bccf
commit 487c81d50b
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

@ -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…
Cancel
Save