Skip to content
Snippets Groups Projects
Commit 157cbf86 authored by Rolf Niepraschk's avatar Rolf Niepraschk
Browse files

"file not found"

parent 2c483aae
No related branches found
No related tags found
No related merge requests found
...@@ -47,7 +47,7 @@ def getFile(date, time, filename): ...@@ -47,7 +47,7 @@ def getFile(date, time, filename):
try: try:
return send_from_directory(path, filename) return send_from_directory(path, filename)
except: except:
return jsonify({}) return jsonify({error:'file not found'})
if __name__ == '__main__': if __name__ == '__main__':
app.run(host=config['server']['host'], port=config['server']['port']) app.run(host=config['server']['host'], port=config['server']['port'])
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment