Skip to content

Commit

Permalink
Fixed argument bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Alwinator committed Mar 9, 2022
1 parent 3ff483c commit 5e27cb9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion graphviz_py/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def convert(python_graphviz: str, arguments: List[str]) -> str:
"""

for arg in arguments:
exec(arg)
exec(arg, globals())

python_codes = re.finditer(py_regex, python_graphviz)
position_correction = 0
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "graphviz-py"
version = "1.0.7"
version = "1.0.8"
description = "Allows Python code execution inside of graphviz diagrams."
authors = ["Alwin Schuster <contact@alwinschuster.at>"]
license = 'MPL-2.0'
Expand Down

0 comments on commit 5e27cb9

Please sign in to comment.