Fix a bug in the add_book.py script
authorAlex Chan <alex@alexwlchan.net>
Mon, 3 Feb 2020 07:51:36 +0000 (07:51 +0000)
committerAlex Chan <alex@alexwlchan.net>
Mon, 3 Feb 2020 07:51:36 +0000 (07:51 +0000)
scripts/add_book.py

index a32de96..8a05345 100755 (executable)
@@ -105,7 +105,7 @@ def get_review_info():
             ),
         ]
 
-        answers["did_you_finish"] = inquirer.prompt(questions)["did_you_finish"] == "no"
+        did_not_finish = (inquirer.prompt(questions)["did_you_finish"] == "no")
 
     return {
         "date_read": date_read,