utils: Fix the REDAME input file name.
This commit is contained in:
@@ -36,8 +36,8 @@ def get_goodread_info(library, force):
|
||||
total_book_count += len(library[key])
|
||||
|
||||
|
||||
for chapter in library:
|
||||
book_list = library[chapter]
|
||||
for category in library:
|
||||
book_list = library[category]
|
||||
for book in book_list:
|
||||
# do not call the api again if we already have the infomation
|
||||
if not force and 'rating' in book and book['rating']:
|
||||
@@ -51,4 +51,4 @@ def get_goodread_info(library, force):
|
||||
sys.stdout.flush() # <- makes python print it anyway
|
||||
|
||||
# need to wait a second between the requests, to not abuse the API
|
||||
time.sleep(1)
|
||||
time.sleep(1)
|
||||
|
||||
Reference in New Issue
Block a user