Browse Source

修复了标题中含英文引号时,输出文件夹文件名不完整的bug

剑断了 2 years ago
parent
commit
d7bc87b594
1 changed files with 1 additions and 1 deletions
  1. 1 1
      FileOperator.py

+ 1 - 1
FileOperator.py

@@ -38,7 +38,7 @@ def GetDviInfo(path):
             s = str(lines[0])
 
             findBid = re.compile(r'"Bid":"(.*?)"')
-            findDviTitle = re.compile(r'"Title":"(.*?)"')
+            findDviTitle = re.compile(r'"Title":"(.*?)",')
             findAid = re.compile(r'"Aid":"(.*?)"')
 
             bid = re.findall(findBid, s)[0]