wangkun %!s(int64=2) %!d(string=hai) anos
pai
achega
9fbe31a465
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      common/publish.py

+ 1 - 1
common/publish.py

@@ -351,5 +351,5 @@ class Publish:
                     Common.logger(log_type, crawler).error('file not a dir = {}'.format(fi_d))
                     Common.logger(log_type, crawler).error('file not a dir = {}'.format(fi_d))
             except Exception as e:
             except Exception as e:
                 # 删除视频文件夹
                 # 删除视频文件夹
-                # shutil.rmtree(f"./{crawler}/videos/{fv}/")
+                shutil.rmtree(f"./{crawler}/videos/{fv}/")
                 Common.logger(log_type, crawler).exception('upload_and_publish error', e)
                 Common.logger(log_type, crawler).exception('upload_and_publish error', e)