mirror of
https://github.com/Xevion/the-office.git
synced 2025-12-17 14:13:40 -06:00
validity checks, better page styling, update data
This commit is contained in:
5
the_office/helpers.py
Normal file
5
the_office/helpers.py
Normal 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])
|
||||
Reference in New Issue
Block a user