update DB

update scanner
This commit is contained in:
dr.lt.data
2023-12-20 11:49:40 +09:00
parent 7839d2308c
commit 71154e177c
6 changed files with 58 additions and 12 deletions

View File

@@ -78,7 +78,7 @@ def scan_in_file(filename, is_builtin=False):
for line in lines:
if line.startswith('@'):
if line.startswith("@author:") or line.startswith("@title:") or line.startswith("@nickname:") or line.startswith("@description:"):
key, value = line[1:].strip().split(':')
key, value = line[1:].strip().split(':', 1)
metadata[key.strip()] = value.strip()
if is_builtin: