added colon for error printout

This commit is contained in:
Bjornar Orjansen Kaarevik 2023-04-02 00:14:48 +02:00
parent 80663435ce
commit 45d5a5e3bd
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ def get_from_api(isbn) -> dict:
return book_data return book_data
except: except:
return f"Error processing data for {isbn}" return f"Error processing data for: {isbn}"
def push_to_database(book_info, db_file = "book_info.dat") -> None: def push_to_database(book_info, db_file = "book_info.dat") -> None:
print(f"Pushing to database: Writing to file {db_file}") # TODO: actually connect to our database and push there print(f"Pushing to database: Writing to file {db_file}") # TODO: actually connect to our database and push there