Fix source output 'list out of range'

This commit is contained in:
yoshiko2
2021-05-29 00:50:47 +08:00
parent 2a7c2b5095
commit a3eb94ddcb
9 changed files with 25 additions and 9 deletions

View File

@@ -212,7 +212,9 @@ def main(number):
}
js = json.dumps(dic, ensure_ascii=False, sort_keys=True, indent=4,separators=(',', ':'), ) # .encode('UTF-8')
return js
except:
except Exception as e:
if config.Config().debug():
print(e)
data = {
"title": "",
}