mirror of
https://github.com/nicolargo/glances.git
synced 2024-11-25 08:33:22 +03:00
Fix IndexError in browser mode
This commit is contained in:
parent
c9d2505749
commit
4e19c61f9b
@ -160,7 +160,7 @@ class GlancesClientBrowser(object):
|
||||
"Server list dictionnary change inside the loop (wait next update)")
|
||||
|
||||
# Update the screen (list or Glances client)
|
||||
if self.screen.active_server is None:
|
||||
if not self.screen.active_server:
|
||||
# Display the Glances browser
|
||||
self.screen.update(self.get_servers_list())
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user