mirror of
https://github.com/MathiasDPX/grainParisArt.git
synced 2025-01-08 16:16: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
|
@ -84,6 +84,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}")
|
||||
|
|
Loading…
Reference in a new issue