summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/modules/python/driver.hpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sca-cpp/trunk/modules/python/driver.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sca-cpp/trunk/modules/python/driver.hpp b/sca-cpp/trunk/modules/python/driver.hpp
index 2820201057..79897b0c5e 100644
--- a/sca-cpp/trunk/modules/python/driver.hpp
+++ b/sca-cpp/trunk/modules/python/driver.hpp
@@ -50,7 +50,7 @@ const bool evalDriverRun(const char* path, istream& in, ostream& out) {
PythonRuntime py;
scheme::setupDisplay(out);
ifstream is(path);
- failable<PyObject*> script = readScript(path, is);
+ failable<PyObject*> script = readScript(moduleName(path), path, is);
if (!hasContent(script))
return true;
evalDriverLoop(content(script), in, out);