Update task_manager_index.py

pull/586/head
Mr Chen 11 months ago
parent fe4ab5a013
commit a6619b6e9d
  1. 4
      plugins/task_manager/task_manager_index.py

@ -74,8 +74,8 @@ class mainClass(object):
def get_process_net_list(self):
w_file = '/dev/shm/mw_net_process'
if not os.path.exists(w_file): return
self.last_net_process = cache.get('net_process')
self.last_net_process_time = cache.get('last_net_process')
# self.last_net_process = cache.get('net_process')
# self.last_net_process_time = cache.get('last_net_process')
net_process_body = mw.readFile(w_file)
if not net_process_body: return
net_process = net_process_body.split('\n')

Loading…
Cancel
Save