Skip to content

Commit

Permalink
Update: NAR.py: Little fix in case that arg-free operators are used w…
Browse files Browse the repository at this point in the history
…ith the Python interface
  • Loading branch information
patham9 committed Jun 22, 2020
1 parent fee8867 commit 7a5886c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions misc/Python/NAR.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ def parseTask(s):
return M

def parseExecution(e):
if "args " not in e:
return {"operator" : e.split(" ")[0], "arguments" : []}
return {"operator" : e.split(" ")[0], "arguments" : e.split("args ")[1][1:-1].split(" * ")[1]}

def GetRawOutput():
Expand Down

0 comments on commit 7a5886c

Please sign in to comment.