Skip to content

Commit

Permalink
Fixed variable name after incorporating string format fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tcwan committed Jun 13, 2018
1 parent da5fa82 commit 7a8d4c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/nxtfilemgr
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,8 @@ class NXT_FileMgr(Gtk.Window):
print("brick_name_b = {0}, brick_name_str = {1}".format(brick_name_b, brick_name_str))

if DEBUG:
print("Brick Info: ", connection_type, brick_name, brick_hostid, brick_signal_strength, fw_version, brick_user_flash)
self.brick_info_str = "%s ==> %s [%s]\tFirmware: v%s.%s\tFreespace: %s" % (connection_type, brick_name, brick_hostid, fw_version[0], fw_version[1], brick_user_flash)
print("Brick Info: ", connection_type, brick_name_str, brick_hostid, brick_signal_strength, fw_version, brick_user_flash)
self.brick_info_str = "%s ==> %s [%s]\tFirmware: v%s.%s\tFreespace: %s" % (connection_type, brick_name_str, brick_hostid, fw_version[0], fw_version[1], brick_user_flash)
else:
print("Invalid Protocol version! Closing connection.")
self.do_housekeeping()
Expand Down

0 comments on commit 7a8d4c6

Please sign in to comment.