diff --git a/app.py b/app.py index fdd461b..4d85394 100644 --- a/app.py +++ b/app.py @@ -168,8 +168,10 @@ class App(object): t.giveup() # save JSON with the test + # fname = ' -- '.join((t['student']['number'], t['ref'], str(t['finish_time']))) + '.json' + # fpath = path.abspath(path.join(t['answers_dir'], fname)) fname = ' -- '.join((t['student']['number'], t['ref'], str(t['finish_time']))) + '.json' - fpath = path.abspath(path.join(t['answers_dir'], fname)) + fpath = path.join(t['answers_dir'], fname) t.save_json(fpath) # insert test into database -- libgit2 0.21.2