解决模式三在mac与linux上无法使用的问题

This commit is contained in:
Feng4
2021-01-04 20:22:12 +08:00
committed by GitHub
parent 4ea5e9d6cb
commit 2c2aafdb72

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后缀