Commit a5415e25 authored by peastman's avatar peastman
Browse files

Fixed errors executing force field scripts on Python 3

parent b32e5832
...@@ -530,7 +530,7 @@ class ForceField(object): ...@@ -530,7 +530,7 @@ class ForceField(object):
# Execute scripts found in the XML files. # Execute scripts found in the XML files.
for script in self._scripts: for script in self._scripts:
exec script exec(script, locals())
return sys return sys
......
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