Skip to content

Commit

Permalink
Fixed SyntaxError: positional argument follows keyword argument on
Browse files Browse the repository at this point in the history
lark/tree.py
  • Loading branch information
evandrocoan committed Oct 1, 2018
1 parent 91a5a5d commit d8c9e1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lark/tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def pydot__tree_to_png(tree, filename, rankdir="LR"):
"""

import pydot
graph = pydot.Dot(graph_type='digraph', rankdir)
graph = pydot.Dot(graph_type='digraph', rankdir=rankdir)

i = [0]

Expand Down

0 comments on commit d8c9e1b

Please sign in to comment.