Commit 04918018 authored by Benjamin Graillot's avatar Benjamin Graillot

[loggrep] converti les arguments de grep en str

parent 10cc8177
......@@ -152,7 +152,7 @@ if __name__ == '__main__':
try:
if getattr(args, arg):
grep_args.append('-{}'.format(GREP_VALUE_ARGS[arg]))
grep_args.append(getattr(args, arg))
grep_args.append(str(getattr(args, arg)))
except AttributeError:
pass
......
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