validity checks, better page styling, update data

This commit is contained in:
Xevion
2020-08-04 03:30:04 -05:00
parent 72201c28d7
commit 08f012a40f
12 changed files with 3749 additions and 27 deletions

5
the_office/helpers.py Normal file
View File

@@ -0,0 +1,5 @@
episode_counts = [6, 22, 23, 14, 26, 24, 24, 24, 23]
def check_validity(season: int, episode: int):
return (1 <= season <= 9) and (1 <= episode <= episode_counts[season])