Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
matograine
silkaj
Commits
01e1085e
Commit
01e1085e
authored
Feb 02, 2019
by
matograine
Committed by
Moul
Mar 19, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fix] #169: pass "width" by str().
parent
30d83142
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
silkaj/commands.py
silkaj/commands.py
+1
-1
No files found.
silkaj/commands.py
View file @
01e1085e
...
...
@@ -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
=
[
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment