Skip to content

Commit

Permalink
fixed minor errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Dante Acosta committed Jul 1, 2024
1 parent 68ed286 commit 364501d
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@ def description_maker(machine):
continue
# converts '7CDB98C877F1' into '7C:DB:98:C8:77:F1' for better readability
mac = (
# fmt: off
(":".join(ip["macAddress"][i:i+2] for i in range(0, len(ip["macAddress"]), 2)))
# fmt: on
(":".join(ip["macAddress"][i : i + 2] for i in range(0, len(ip["macAddress"]), 2))) # noqa: E203
if ip["macAddress"] is not None
else "N/A"
)
Expand Down

0 comments on commit 364501d

Please sign in to comment.