mirror of
https://github.com/aaPanel/aaPanel.git
synced 2026-09-07 10:07:39 +02:00
Update to v7.57.0
This commit is contained in:
@@ -314,7 +314,11 @@ class main(dockerBase):
|
||||
if not data:
|
||||
return public.return_message(-1, 0, public.lang("This template was not found!"))
|
||||
if os.path.exists(data['path']):
|
||||
os.remove(data['path'])
|
||||
# 删除模板文件 目录不处理
|
||||
try:
|
||||
os.remove(data['path'])
|
||||
except:
|
||||
pass
|
||||
|
||||
get.id = get.template_id
|
||||
|
||||
|
||||
Reference in New Issue
Block a user