Adds storygraph tests
This commit is contained in:
parent
aeef472ee1
commit
1b9d08414f
4 changed files with 131 additions and 1 deletions
|
@ -21,7 +21,7 @@ class StorygraphImporter(Importer):
|
|||
data["ISBN13"] = entry["ISBN"]
|
||||
data["My Review"] = entry["Review"]
|
||||
if entry["Star Rating"]:
|
||||
data["My Rating"] = math.ceil(float(entry["Star Rating"]))
|
||||
data["My Rating"] = float(entry["Star Rating"])
|
||||
else:
|
||||
data["My Rating"] = ""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue