summaryrefslogtreecommitdiff
path: root/src/pyinterp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pyinterp.h')
-rw-r--r--src/pyinterp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pyinterp.h b/src/pyinterp.h
index 8699f69d..556b1563 100644
--- a/src/pyinterp.h
+++ b/src/pyinterp.h
@@ -136,8 +136,8 @@ public:
virtual expr_t::ptr_op_t lookup(const symbol_t::kind_t kind,
const string& name);
- OPTION_(python_interpreter_t, import_, DO_(args) {
- parent->import_option(args.get<string>(1));
+ OPTION_(python_interpreter_t, import_, DO_(str) {
+ parent->import_option(str);
});
};