Skip to content

Commit

Permalink
Update local_accounts_getter.py
Browse files Browse the repository at this point in the history
  • Loading branch information
vil committed Sep 16, 2023
1 parent bcedf96 commit 4d4e58b
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions utils/local_accounts_getter.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,12 @@ def __init__(self):

# Iterate through the user information list to print the information
for user_info in user_info_list:
printer.success("Username:", user_info['Username'])
printer.success("Terminal:", user_info['Terminal'])
printer.success("Host:", user_info['Host'])
printer.success("Started:", user_info['Started'])
printer.success("PID:", user_info['PID'], "\n")
printer.success("User Information:")
printer.success(f"Username: {user_info['Username']}")
printer.success(f"Terminal: {user_info['Terminal']}")
printer.success(f"Host: {user_info['Host']}")
printer.success(f"Started: {user_info['Started']}")
printer.success(f"PID: {user_info['PID']}", "\n")
except Exception as e:
printer.error("Error retrieving account information:", str(e))

Expand Down

0 comments on commit 4d4e58b

Please sign in to comment.