Skip to content

Commit

Permalink
fix: fix the null name in the title_jpn
Browse files Browse the repository at this point in the history
  • Loading branch information
skymkmk committed Jun 19, 2023
1 parent a898dd1 commit 4dfab60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion update_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def update_metadata() -> None:
group = []
tags = []
language = 'ja'
if 'title_jpn' in j:
if 'title_jpn' in j and j['title_jpn'] != '':
title = j['title_jpn']
else:
title = j['title']
Expand Down

0 comments on commit 4dfab60

Please sign in to comment.