dspace_statistics_api/app.py: remove unused code

This was added accidentally when I refactored. I was trying to see
if I could use Falcon's on_exit() hook.
This commit is contained in:
Alan Orth 2018-10-27 14:33:37 +02:00
parent b8356f7a87
commit 2f45d27554
1 changed files with 0 additions and 3 deletions

View File

@ -63,9 +63,6 @@ class ItemResource:
cursor.close()
def on_exit(api):
print("Shutting down DB")
api = application = falcon.API()
api.add_route('/items', AllItemsResource())
api.add_route('/item/{item_id:int}', ItemResource())