Skip to content

Commit 95cd763

Browse files
committed
nothing
1 parent c53905e commit 95cd763

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sciapp/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def run_macros(self, cmd, callafter=None):
151151
def one(cmds, after):
152152
cmd = cmds.pop(0)
153153
if not isinstance(cmd, str): title, para = cmd
154-
else: title, para = eval(cmd.replace('>', ','))
154+
else: title, para = eval('"'+cmd.replace('>', '",'))
155155
plg = self.plugin_manager.get(name=title)()
156156
after = lambda cmds=cmds: one(cmds, one)
157157
if len(cmds)==0: after = callafter

0 commit comments

Comments
 (0)