提交 411da052 编写于 作者: W wizardforcel

2023-03-11 11:52:30

上级 8428f07f
......@@ -192,7 +192,7 @@ def main():
user_cfg = yaml.safe_load(cont)
elif ext == 'txt':
urls = [l.strip() for l in cont.split('\n')]
urls = [l for l in user_cfg if l]
urls = [l for l in urls if l]
name = re.sub('\.\w+$', '', path.basename(cfg_fname))
user_cfg = {
'name': name,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册