Procházet zdrojové kódy

Merge remote-tracking branch 'origin/master'

Roc před 1 rokem
rodič
revize
7f6143800d
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      html2img/main.py

+ 2 - 2
html2img/main.py

@@ -110,8 +110,8 @@ def get_rand_string(size=28):
 # 清除本地生成的文件
 def clear_local_file(img_path, html_path):
     try:
-        # os.remove(img_path)
-        # os.remove(html_path)
+        os.remove(img_path)
+        os.remove(html_path)
         return True
     except OSError as e:
         # print(e)