From 917d354c58c11905beb3da12a9b165f3f63d48ac Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Tue, 13 Dec 2016 14:18:30 +0100 Subject: [PATCH] fix the interface --- general/backup/borg_interface/borg_interface.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/general/backup/borg_interface/borg_interface.py b/general/backup/borg_interface/borg_interface.py index b50f36d..79c92f4 100755 --- a/general/backup/borg_interface/borg_interface.py +++ b/general/backup/borg_interface/borg_interface.py @@ -33,8 +33,8 @@ os.environ['BORG_PASSPHRASE'] = password while chosen_activity != 0: print("What would you like to do?") # Start the chosen activity and go back to the activity selector. - print("1: List Backups, 2: Show archive details, 3: Mount Archive,") - print("4: Restore Backup, 0: Exit") + print("1: List Backups, 2: Show archive details, 3: Mount Archive," + "4: Restore Backup, 0: Exit") try: chosen_activity = int(input("Choose the desired activity: ")) if chosen_activity == 1: @@ -58,8 +58,8 @@ while chosen_activity != 0: print() if chosen_activity == 4: archive_name = input("Please enter the archive name: ") - restore_path = input("Please enter the path where you want to\ - restore to") + restore_path = input("Please enter the path where you want to" + "restore to") os.system('borg extract -v --list ::' + archive_name + " "