removed usage of bottle for handling exceptions for rest api
This commit is contained in:
parent
9b8f2868fd
commit
8d610c99e9
3 changed files with 9 additions and 9 deletions
|
@ -2,7 +2,7 @@ import os
|
|||
from functools import wraps
|
||||
from threading import Lock
|
||||
|
||||
from bottle import abort
|
||||
from werkzeug.exceptions import abort
|
||||
|
||||
save_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), "uploads")
|
||||
CORE_LOCK = Lock()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue