Merge pull request #398 from Feng4/patch-7

解决模式三在mac与linux上无法使用的问题
This commit is contained in:
Yoshiko2
2021-01-04 21:52:27 +08:00
committed by GitHub

View File

@@ -748,7 +748,7 @@ def core_main(file_path, number_th, conf: config.Config):
elif conf.main_mode() == 3: elif conf.main_mode() == 3:
path = file_path.rsplit('/', 1)[0] path = file_path.rsplit('/', 1)[0]
path = file_path.rsplit('\\', 1)[0] path = path.rsplit('\\', 1)[0]
if multi_part == 1: if multi_part == 1:
number += part # 这时number会被附加上CD1后缀 number += part # 这时number会被附加上CD1后缀