Fixed: Removed not needed escape character replacements

pull/319/head
aristocratos 2021-06-06 18:28:19 +02:00
parent 9b732d4cfa
commit cc460666ff
1 changed files with 2 additions and 2 deletions

View File

@ -3738,7 +3738,7 @@ class ProcCollector(Collector):
out[p.info["pid"]] = { out[p.info["pid"]] = {
"name" : p.info["name"], "name" : p.info["name"],
"cmd" : cmd.replace("\n", "").replace("\t", "").replace("\\", ""), "cmd" : cmd,
"threads" : p.info["num_threads"], "threads" : p.info["num_threads"],
"username" : p.info["username"], "username" : p.info["username"],
"mem" : mem, "mem" : mem,
@ -3922,7 +3922,7 @@ class ProcCollector(Collector):
out[pid] = { out[pid] = {
"indent" : inindent, "indent" : inindent,
"name": name, "name": name,
"cmd" : cmd.replace("\n", "").replace("\t", "").replace("\\", ""), "cmd" : cmd,
"threads" : threads, "threads" : threads,
"username" : username, "username" : username,
"mem" : mem, "mem" : mem,