$def with (books=None, books_wo_isbns=None)
$if not books:

$_("Import from Goodreads")

For instructions on exporting data refer to: Goodreads Import/Export


$_("File size limit 10MB and .csv file type only")

$_("Export your Reading Log")

$_("Download a copy of your reading log.") $_("What is this?")

$_("Export your book notes")

$_("Download a copy of your book notes.") $_("What are book notes?")

$_("Export your reviews")

$_("Download a copy of your review tags.") $_("What are review tags?")

$_("Export your list overview")

$_("Download a summary of your lists and their contents.") $_("What are lists?")

$_("Export your star ratings")

$_("Download a copy of your star ratings") $_("What are star ratings?")

$else:
$ keys = ['ISBN', 'Title', 'My Rating', 'Exclusive Shelf']
$for key in keys: $for isbn in books: $for key in keys: $for id in books_wo_isbns: $for key in keys:
$key
$ dict = {'ISBN':'', 'Title':'', 'My Rating':'', 'Exclusive Shelf':''} $ k = ['ISBN', 'My Rating', 'Exclusive Shelf'] $for key in k: $ dict[key] = books[isbn].get(key) $books[isbn].get(key)
$if books_wo_isbns[id].get(key) != '=""': $books_wo_isbns[id].get(key)