Commit d308d3d2 authored by Benjamin Graillot's avatar Benjamin Graillot

Mauvaise fonction

parent ec9fecc5
...@@ -47,7 +47,7 @@ def execute(macro, text): ...@@ -47,7 +47,7 @@ def execute(macro, text):
arg = arg.strip() arg = arg.strip()
if arg.lower() in {'true', 'false'}: if arg.lower() in {'true', 'false'}:
arg = int(bool(arg)) arg = int(bool(arg))
elif arg.isnum(): elif arg.isnumeric():
arg = int(arg) arg = int(arg)
if kw is None: if kw is None:
args.append(arg) args.append(arg)
......
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