mirror of
https://github.com/saveweb/biliarchiver.git
synced 2024-09-19 11:05:28 -07:00
fix: typo
This commit is contained in:
parent
9e98285c6c
commit
eed38bdfe5
@ -201,7 +201,7 @@ def _upload_bvid(bvid: str, *, update_existing: bool = False, collection: str):
|
||||
print(new_md)
|
||||
|
||||
# remove XML illegal characters
|
||||
_md_before = hash(json.dumps(md))
|
||||
_md_before = hash(json.dumps(new_md))
|
||||
new_md = xml_chars_legalize(obj=new_md)
|
||||
assert isinstance(new_md, dict)
|
||||
if hash(json.dumps(new_md)) != _md_before:
|
||||
|
Loading…
Reference in New Issue
Block a user