aboutsummaryrefslogtreecommitdiff
path: root/tools/clean_webconsole.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-04-03 13:27:18 -0700
committerAlon Zakai <alonzakai@gmail.com>2012-04-03 13:27:18 -0700
commit6fe076df5c55d1601a1b5ba738169f3eef4201f2 (patch)
tree1f29b9b7d90ffa31b054df70407a7f32ff89b6fc /tools/clean_webconsole.py
parentacc4a44f5dd3dc6269eca282f0aa6b208701927d (diff)
update webconsole cleaner tool
Diffstat (limited to 'tools/clean_webconsole.py')
-rw-r--r--tools/clean_webconsole.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/clean_webconsole.py b/tools/clean_webconsole.py
index 64af2dd5..550ace9a 100644
--- a/tools/clean_webconsole.py
+++ b/tools/clean_webconsole.py
@@ -9,6 +9,7 @@ lines = sys.stdin.read().split('\n')
for line in lines:
if line.startswith('['):
line = line[15:]
+ if line.startswith(('[', ']')):
line = line.split('@')[0]
print line