Merge branch 'master' of https://e.coding.net/ctcdevteam/ehs/ehs_server
This commit is contained in:
commit
c43474dace
|
|
@ -41,7 +41,6 @@ def update_dict(dict1, dict2):
|
||||||
if key == 'apk_file': # apk_file拷贝到固定位置
|
if key == 'apk_file': # apk_file拷贝到固定位置
|
||||||
from shutil import copyfile
|
from shutil import copyfile
|
||||||
copyfile(BASE_DIR + value, BASE_DIR + '/media/zc_ehs.apk')
|
copyfile(BASE_DIR + value, BASE_DIR + '/media/zc_ehs.apk')
|
||||||
else:
|
|
||||||
if key in dict1 and isinstance(dict1[key], dict) and isinstance(value, dict):
|
if key in dict1 and isinstance(dict1[key], dict) and isinstance(value, dict):
|
||||||
update_dict(dict1[key], value)
|
update_dict(dict1[key], value)
|
||||||
else:
|
else:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue