From b33a3e4d274b3669e02a163ead3a314732158e12 Mon Sep 17 00:00:00 2001 From: reverend <reverend@reverend2048.de> Date: Sun, 28 Apr 2019 12:38:21 +0200 Subject: [PATCH] ~bugfix --- main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.py b/main.py index 82119e6..85ce42b 100644 --- a/main.py +++ b/main.py @@ -1,6 +1,8 @@ from flask import Flask from view.questions import questions +from model import Question + if len(Question.select()) is 0: with open("questions.json", "r") as file: question_list = json.load(file) -- GitLab