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])
|
total_book_count += len(library[key])
|
||||||
|
|
||||||
|
|
||||||
for chapter in library:
|
for category in library:
|
||||||
book_list = library[chapter]
|
book_list = library[category]
|
||||||
for book in book_list:
|
for book in book_list:
|
||||||
# do not call the api again if we already have the infomation
|
# do not call the api again if we already have the infomation
|
||||||
if not force and 'rating' in book and book['rating']:
|
if not force and 'rating' in book and book['rating']:
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ def main():
|
|||||||
from gooodreads import get_goodread_info
|
from gooodreads import get_goodread_info
|
||||||
from write_file import render
|
from write_file import render
|
||||||
|
|
||||||
in_file = flags.in_file or './../README.MD'
|
in_file = flags.in_file or './../README.md'
|
||||||
out_file = flags.out_file or './../README-new.md'
|
out_file = flags.out_file or './../README-new.md'
|
||||||
input_file_type = flags.input_file_type or 'new'
|
input_file_type = flags.input_file_type or 'new'
|
||||||
sort_by = flags.sort_by or 'rating'
|
sort_by = flags.sort_by or 'rating'
|
||||||
|
|||||||
Reference in New Issue
Block a user