fix formatting

This commit is contained in:
Allie Signet
2021-05-10 15:56:35 -03:00
parent 36439506b6
commit 623bb181e4
2 changed files with 9 additions and 2 deletions

View File

@ -28,5 +28,7 @@ class StorygraphImporter(Importer):
data["Date Added"] = re.sub(r"[/]", "-", entry["Date Added"])
data["Date Read"] = re.sub(r"[/]", "-", entry["Last Date Read"])
data["Exclusive Shelf"] = ({"read": "read", "currently-reading": "reading", "to-read": "to-read"}).get(entry["Read Status"],None)
data["Exclusive Shelf"] = (
{"read": "read", "currently-reading": "reading", "to-read": "to-read"}
).get(entry["Read Status"], None)
return data