chenjunkai 5 年之前
父節點
當前提交
c7de2878e4
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      Controller/AppInfo.py

+ 5 - 0
Controller/AppInfo.py

@@ -211,10 +211,15 @@ class AppInfo(View):
             app_info.minAppversion = minAppversion
             app_info.bundleVersion = bundleVersion
             app_info.downloadLink = downloadLink
+            print('ffff')
+            print(f)
+            print('ffff')
+
             if f:
                 try:
                     rv_path = 'static/app/image/' + appBundleId + '.png'
                     as_path = os.path.join(BASE_DIR, rv_path)
+                    print(as_path)
                     if os.path.exists(as_path):
                         os.remove(as_path)
                     with open(as_path, 'wb+') as destination: