Commit 01e1085e authored by matograine's avatar matograine Committed by Moul

[fix] #169: pass "width" by str().

parent 30d83142
......@@ -171,7 +171,7 @@ async def network_info(discover, sort):
network_sort_keys = sort.split(",")
width = get_terminal_size()[0]
if width < 146:
message_exit("Wide screen need to be larger than 146. Current width: " + width)
message_exit("Wide screen need to be larger than 146. Current width: " + str(width))
# discover peers
# and make sure fields are always ordered the same
endpoints = [
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment