Browse Source

update video dir for windows

wangkun 3 years ago
parent
commit
b9f7e6d7e6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main/common.py

+ 1 - 1
main/common.py

@@ -77,7 +77,7 @@ class Common:
         下载保存路径:"./files/{d_title}/"
         """
         # 首先创建一个保存该视频相关信息的文件夹
-        video_dir = ".\\videos\\" + d_name + "\\"
+        video_dir = r".\videos\"" + d_name + r"\""
         if not os.path.exists(video_dir):
             os.mkdir(video_dir)