Merge branch 'develop' of https://github.com/nicolargo/glances into develop

pull/557/head
nicolargo 2015-05-03 17:12:23 +02:00
commit fe977ee17c
1 changed files with 6 additions and 3 deletions

View File

@ -57,9 +57,12 @@ class GlancesStandalone(object):
# Ignore kernel threads in process list
glances_processes.disable_kernel_threads()
if args.process_tree:
# Enable process tree view
glances_processes.enable_tree()
try:
if args.process_tree:
# Enable process tree view
glances_processes.enable_tree()
except AttributeError:
pass
# Initial system informations update
self.stats.update()