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:
Blake J. Harnden 2018-09-13 13:10:41 -07:00
parent 2815554487
commit 3dc9586817
8 changed files with 63 additions and 30 deletions

View file

@ -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()