Commit 7b8e3866 by Luciano Barletta

Fixed file name change

1 parent 7d7064e7
...@@ -75,7 +75,7 @@ def msg(): ...@@ -75,7 +75,7 @@ def msg():
'type' : request.values['type'] 'type' : request.values['type']
} }
id = process.store(query) id = process.store(query)
os.system("mv ./data ./" + id) os.system("mv ./" + dir + "/data ./" + dir + "/" + id)
@app.route('/cons', methods = ['POST']) @app.route('/cons', methods = ['POST'])
def cons(): def cons():
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!