This commit is contained in:
Nikolaj Danger
2021-02-08 11:09:56 +01:00
parent 9320b1fc88
commit 5b69982521

View File

@ -88,11 +88,11 @@ class Funcs():
with open("resources/bedreNetflix/oldMessage"+str(channel.id),"r") as f:
data = json.load(f)
except:
return False, None
return False, None, None
if data["messageID"] == message.id:
if "imdbIds" in data:
return True, True, data["imdbIds"]
else:
return True, False, data["imdbNames"]
else:
return False, None
return False, None, None