mirror of
https://github.com/nicolargo/glances.git
synced 2024-09-21 17:48:47 +03:00
Fix 'statement has no effect' warning
This commit is contained in:
parent
40f3bb3db5
commit
54108258b1
@ -987,7 +987,6 @@ class GlancesCursesBrowser(_GlancesCurses):
|
||||
self.active_server = self.cursor
|
||||
elif self.pressedkey == 259:
|
||||
# 'UP' > Up in the server list
|
||||
logger
|
||||
self.cursor_up(servers_list)
|
||||
elif self.pressedkey == 258:
|
||||
# 'DOWN' > Down in the server list
|
||||
@ -1135,9 +1134,6 @@ class GlancesCursesBrowser(_GlancesCurses):
|
||||
self.term_window.addnstr(
|
||||
y, xc, ">", screen_x - xc, self.colors_list['BOLD'])
|
||||
|
||||
# Display alias instead of name
|
||||
server_stat
|
||||
|
||||
# Display the line
|
||||
xc += 2
|
||||
for c in column_def:
|
||||
|
Loading…
Reference in New Issue
Block a user