chenjunkai 5 жил өмнө
parent
commit
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: