Merge pull request #367 from Suwmlee/master
Fix file name too long in Linux
This commit is contained in:
2
core.py
2
core.py
@@ -193,8 +193,6 @@ def get_data_from_json(file_number, filepath, conf: config.Config): # 从JSON
|
||||
|
||||
location_rule = eval(conf.location_rule())
|
||||
|
||||
# Process only Windows.
|
||||
if platform.system() == "Windows":
|
||||
if 'actor' in conf.location_rule() and len(actor) > 100:
|
||||
print(conf.location_rule())
|
||||
location_rule = eval(conf.location_rule().replace("actor","'多人作品'"))
|
||||
|
||||
Reference in New Issue
Block a user