Steve Nyemba, The Architect 6 years ago
parent
commit
9fc838e28d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/monitor.py

+ 1 - 1
src/monitor.py

@@ -87,7 +87,7 @@ class Apps(SmartTop) :
 			if 'filter' in args :
 				pattern = "|".join(args['filter']) 				
 				i = df.cmd.str.contains(pattern)
-				r =  df[i]
+				r =  pd.DataFrame(df[i])
 				ii=  (1 + np.array(i)*-1) == 1
 				other = pd.DataFrame(df[ii].sum()).T
 				other.user = other.name = other.status = other.cmd = other.args = 'other'