Browse Source

Fixed bug with configuration manager printing in terminal.

pull/11/head
jrtechs 6 years ago
parent
commit
bb08441aaf
2 changed files with 5 additions and 4 deletions
  1. +2
    -1
      README.md
  2. +3
    -3
      src/ssh_manager.py

+ 2
- 1
README.md View File

@ -121,7 +121,8 @@ you can use the "2" option to copy your ssh key to a server.
"4" Returns to the main manager window. "4" Returns to the main manager window.
""
"5" Edits the configuration which stores where this program keeps text documents
for the hosts used.
If you added some accounts your main window should look like this: If you added some accounts your main window should look like this:

+ 3
- 3
src/ssh_manager.py View File

@ -119,13 +119,13 @@ def sub_menu():
print_sub_menu() print_sub_menu()
i = input("Enter selection:") i = input("Enter selection:")
if i != '' and int(i) in {1, 2, 3, 4, 5}:
if i != '' and int(i) in {1, 2, 3, 4, 5, 6}:
options = {1: add_host, options = {1: add_host,
2: copy_ssh_key, 2: copy_ssh_key,
3: remove_host, 3: remove_host,
4: main, 4: main,
5: configuration.main(),
6: exit_program,
5: configuration.main,
6: exit_program
} }
options[int(i)]() options[int(i)]()
else: else:

Loading…
Cancel
Save