Update config.ini

This commit is contained in:
Mathhew
2020-09-25 16:45:16 +08:00
parent cc2d44b728
commit 8873a4a7bd
2 changed files with 2 additions and 1 deletions

View File

@@ -16,6 +16,7 @@ retry=3
[Name_Rule] [Name_Rule]
location_rule=actor+'/'+number location_rule=actor+'/'+number
naming_rule=number+'-'+title naming_rule=number+'-'+title
max_title_len= 50
[update] [update]
update_check=1 update_check=1

View File

@@ -57,7 +57,7 @@ class Config:
""" """
try: try:
return self.conf.getint("Name_Rule", "max_title_len") return self.conf.getint("Name_Rule", "max_title_len")
except ValueError: except:
return 50 return 50
def update_check(self) -> bool: def update_check(self) -> bool: