Skip to content

Commit

Permalink
Fix code style issues with Black
Browse files Browse the repository at this point in the history
  • Loading branch information
weee-open-bot committed Oct 18, 2024
1 parent c605fd0 commit 39361e3
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions basilico.py
Original file line number Diff line number Diff line change
Expand Up @@ -1485,10 +1485,12 @@ def user_groups_checks():
return
if not "disk" in res.split(":")[1]:
user = os.getenv("USER")
logging.warning(f" User {user} is not in disk group and it may not have sufficient permissions to use smartctl.\n"
f"You can add it in with the command\n\n"
f"\tsudo usermod -a -G disk $USER\n\n"
f"and restarting the user session (logout and login).")
logging.warning(
f" User {user} is not in disk group and it may not have sufficient permissions to use smartctl.\n"
f"You can add it in with the command\n\n"
f"\tsudo usermod -a -G disk $USER\n\n"
f"and restarting the user session (logout and login)."
)


TARALLO = None
Expand Down

0 comments on commit 39361e3

Please sign in to comment.