Commit bce022e0 authored by Romain Courteaud's avatar Romain Courteaud

Simplify reported text.

parent 914d7964
...@@ -67,6 +67,8 @@ if has_partition:\n ...@@ -67,6 +67,8 @@ if has_partition:\n
else:\n else:\n
d = json.loads(d)\n d = json.loads(d)\n
result = d[\'text\']\n result = d[\'text\']\n
if result.startswith(\'#access \'):\n
result = result[len(\'#access \'):]\n
\n \n
except Exception:\n except Exception:\n
raise\n raise\n
......
41 42
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment