zhangwei 3 vuotta sitten
vanhempi
commit
e0010d4b29
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      server/main.py

+ 1 - 1
server/main.py

@@ -70,7 +70,7 @@ def create_preview(project,page):
     print(f_read)
     os.system(wx_cli+ " cache --clean all --project " + dist_path)    
     os.system(wx_cli+ " quit")
-    if "[error]" in f_read:
+    if "[Error]" in f_read:
         res_json["code"] = 3
         res_json["msg"] = f_read
     else: