配置项类型修正
This commit is contained in:
parent
9f443dfae2
commit
e1e077d64b
@ -77,7 +77,7 @@ def load_config():
|
|||||||
VIDEO_TITLE = section.get('title', VIDEO_TITLE)
|
VIDEO_TITLE = section.get('title', VIDEO_TITLE)
|
||||||
VIDEO_DESC = section.get('desc', VIDEO_DESC)
|
VIDEO_DESC = section.get('desc', VIDEO_DESC)
|
||||||
VIDEO_TID = section.getint('tid', VIDEO_TID)
|
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"):
|
if config.has_section("clip"):
|
||||||
section = config['clip']
|
section = config['clip']
|
||||||
global VIDEO_CLIP_EACH_SEC, VIDEO_CLIP_OVERFLOW_SEC
|
global VIDEO_CLIP_EACH_SEC, VIDEO_CLIP_OVERFLOW_SEC
|
||||||
|
Loading…
x
Reference in New Issue
Block a user