This commit is contained in:
Yannik Schmidt
2021-12-20 19:55:51 +01:00
parent 6e677c663b
commit 159871be47
3 changed files with 60 additions and 20 deletions

8
constants.py Normal file
View File

@@ -0,0 +1,8 @@
POSITIONS_NAMES = ["Top", "Jungle", "Mid", "Bottom", "Support" ]
DATABASE_PRIO_NAMES = ["prioTop", "prioJungle", "prioMid", "prioBot", "prioSupport" ]
TYPE_JSON = 'application/json'
HTTP_OK = 200
def VALID_INDEX(index):
return index == 0 or index == 1