Skip to content

Commit

Permalink
displaying sid value in uppercase for tooltips(#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
DYefremov committed Sep 12, 2020
1 parent 1f51766 commit 831184a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/ui/main_app_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -950,13 +950,13 @@ def get_hint_header_info(self, srv):
def get_ssid_info(self, srv):
""" Returns SID representation in hex and dec formats. """
try:
dec = "{0: 04d}".format(int(srv.ssid, 16))
dec = "{0:04d}".format(int(srv.ssid, 16))
except ValueError as e:
log("SID value conversion error: {}".format(e))
else:
return "SID: 0x{} ({})".format(srv.ssid, dec)
return "SID: 0x{} ({})".format(srv.ssid.upper(), dec)

return "SID: 0x{}".format(srv.ssid)
return "SID: 0x{}".format(srv.ssid.upper())

# ***************** Drag-and-drop *********************#

Expand Down

0 comments on commit 831184a

Please sign in to comment.