From 5f9fc236709343e2308289b3fe88393a329fd322 Mon Sep 17 00:00:00 2001 From: Chris Midkiff Date: Fri, 15 May 2020 23:42:44 -0400 Subject: [PATCH] fixed server error --- utils/server.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils/server.py b/utils/server.py index ad13c2d..1c2b271 100644 --- a/utils/server.py +++ b/utils/server.py @@ -2,9 +2,10 @@ from flask import Flask, jsonify, request import json import os app = Flask(__name__) - base = os.getcwd() +help = 'WW91IGZvdW5kIHRoZSBzZWNyZXQgbGlmZWxpbmUhIEdvb2QgZm9yIHlvdS4gWW91J3JlIHByb2JhYmx5IGZpbmUsIGJ1dCBpZiB5b3UgbmVlZCBoZWxwIHdpdGggc29tZXRoaW5nIG5vIG9uZSBlbHNlIHVuZGVyc3RhbmRzLCBlbWFpbCBmaXR0c0BzdXBlcnBpY2h1Lm9yZy4KUGxlYXNlIGtlZXAgdGhlIGV4aXN0ZW5jZSBvZiB0aGlzIHRvIHlvdXJzZWxmLiBOb2JvZHkgbGlrZXMgYSBuYXJjLg==' + @app.route('/cardboard') def card(): data = json.load(open(base + '/cardTrials.json'))