修正工具面板中的一个错误(会影响metadata修改, 原为先执行后打开metadata.txt文件)
This commit is contained in:
parent
3083d5435f
commit
34ee3a11c1
|
|
@ -9,7 +9,7 @@ def run_command(name,openfilelist):
|
|||
configjson = load_dict("文本文件/config.json")
|
||||
for f in openfilelist:
|
||||
if not f in configjson:
|
||||
os.system("code "+f)
|
||||
os.system("code -w "+f)
|
||||
else:
|
||||
lineindex = getlineindex(f'"{f}"',"文本文件/config.json")
|
||||
os.system(f"code -w -g 文本文件/config.json:{lineindex}")
|
||||
|
|
|
|||
Reference in New Issue