def getInfo(): print('something') if request.method == 'POST': time = db.get_time() peopleInLine = db.count_line() systemInfo = {'time' : time, "People in Line": peopleInLine} return json.dumps(systemInfo)
def main(): return render_template('homepage.html', last_time=db.get_time(), line_length=db.count_line())
def line_count(): return str(db.count_line())
def line_count(): print(request.remote_addr) return str(db.count_line())