mirror of
https://github.com/MathiasDPX/grainParisArt.git
synced 2025-01-09 08:26:40 +00:00
Handle next.showtime.on
This commit is contained in:
parent
a5bca2b79b
commit
1651cbe071
1 changed files with 3 additions and 0 deletions
|
@ -85,6 +85,9 @@ class Theater:
|
||||||
if data["message"] == "no.showtime.error":
|
if data["message"] == "no.showtime.error":
|
||||||
return []
|
return []
|
||||||
|
|
||||||
|
if data["message"] == "next.showtime.on":
|
||||||
|
return []
|
||||||
|
|
||||||
if data.get('error'):
|
if data.get('error'):
|
||||||
raise Exception(f"API Error: {data}")
|
raise Exception(f"API Error: {data}")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue