Skip to content

Commit 5f57beb

Browse files
Merge pull request #646 from cclauss/patch-1
Syntax Error: exec() is a function in Python 3
2 parents 254f208 + c5da3b8 commit 5f57beb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/plots/buildplots.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@
2020
l = l[:-1] + (", dpi=45, file='%s.png')" % f[:-3])
2121
code[i] = l
2222
code = "\n".join(code)
23-
exec code
23+
exec(code)

0 commit comments

Comments
 (0)