updated set mobility to upload file to a upload directory and mark files used by set mobility config to look for the file within this directory
This commit is contained in:
parent
2815554487
commit
3dc9586817
8 changed files with 63 additions and 30 deletions
|
@ -1,8 +1,10 @@
|
|||
import os
|
||||
from functools import wraps
|
||||
from threading import Lock
|
||||
|
||||
from bottle 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