Black & Isort changes
This commit is contained in:
@@ -3,7 +3,9 @@ def get_confirmation(backup_extension, selected_book):
|
||||
while True:
|
||||
confirm = input("Are these settings correct? (y/n): ").strip().lower()
|
||||
if confirm == "y":
|
||||
print(f"Starting backup for book: {selected_book['name']} with filetype {backup_extension}.")
|
||||
print(
|
||||
f"Starting backup for book: {selected_book['name']} with filetype {backup_extension}."
|
||||
)
|
||||
print("Starting now.......")
|
||||
return True
|
||||
elif confirm == "n":
|
||||
@@ -11,4 +13,3 @@ def get_confirmation(backup_extension, selected_book):
|
||||
return False
|
||||
else:
|
||||
print("Please enter 'y' or 'n'.")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user