Handle next.showtime.on

This commit is contained in:
Mathias DUPEUX 2024-09-19 19:49:51 +02:00
parent a5bca2b79b
commit 1651cbe071

View file

@ -85,6 +85,9 @@ class Theater:
if data["message"] == "no.showtime.error":
return []
if data["message"] == "next.showtime.on":
return []
if data.get('error'):
raise Exception(f"API Error: {data}")