Skip to content

Commit 941e07f

Browse files
authored
Merge pull request #479 from c0dew3ll/bugfix/fix-rendering-in-syscheck
Fix: Corrected color formatting in interface status output
2 parents 80afc88 + 146ff8c commit 941e07f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wifite/util/system_check.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ def _render_interfaces(self):
716716
else:
717717
masked = iface.mac
718718
Color.pl(f' MAC: {masked} Mode: {{C}}{iface.mode}{{W}} '
719-
f'Up: {"{{G}}yes{{W}}" if iface.is_up else "{{O}}no{{W}}"}')
719+
f'Up: {"{G}yes{W}" if iface.is_up else "{O}no{W}"}')
720720

721721
# Capability matrix
722722
mon = '{G}✓{W}' if iface.supports_monitor else '{R}✗{W}'

0 commit comments

Comments
 (0)