Skip to content

Commit

Permalink
Better formatting of sysinfo.py with 20-system-info
Browse files Browse the repository at this point in the history
  • Loading branch information
seven-beep committed Nov 25, 2024
1 parent 0b325f5 commit 5dcc2be
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions update-motd.d/sysinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,7 @@ def main():
swapperc = "---"

print(
"""
System information as of %s on %s
"""System information as of %s on %s
"""
% (time.asctime(), ip_addr)
)
Expand All @@ -159,9 +158,7 @@ def main():
if users != "":
print(
f"""
Logged in users: {users}
"""
Logged in users: {users}"""
)

sys.exit(0)
Expand Down

0 comments on commit 5dcc2be

Please sign in to comment.