Move routes to their own folder

This commit is contained in:
Michał Gdula 2023-03-12 15:52:23 +00:00
parent 79db45f7a2
commit 0d10de923d
7 changed files with 35 additions and 44 deletions

View file

@ -135,4 +135,5 @@ class Bans (base): # pylint: disable=too-few-public-methods, C0103
# check if database file exists, if not create it
if not os.path.isfile(DB_PATH):
base.metadata.create_all(engine)
base.metadata.create_all(engine)
print('Database created')