mirror of
https://github.com/nicolargo/glances.git
synced 2024-11-28 22:55:55 +03:00
Merge pull request #791 from rklabs/fix-index-error
IndexError in browser mode
This commit is contained in:
commit
949011497d
@ -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