配置项类型修正

This commit is contained in:
Jerry Yan 2022-08-31 15:01:43 +08:00
parent 9f443dfae2
commit e1e077d64b

View File

@ -77,7 +77,7 @@ def load_config():
VIDEO_TITLE = section.get('title', VIDEO_TITLE)
VIDEO_DESC = section.get('desc', VIDEO_DESC)
VIDEO_TID = section.getint('tid', VIDEO_TID)
VIDEO_TAGS = section.getint('tags', VIDEO_TAGS)
VIDEO_TAGS = section.get('tags', VIDEO_TAGS)
if config.has_section("clip"):
section = config['clip']
global VIDEO_CLIP_EACH_SEC, VIDEO_CLIP_OVERFLOW_SEC