summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'numbench')
-rwxr-xr-xnumbench/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numbench/main.py b/numbench/main.py
index f71de0b..586fb20 100755
--- a/numbench/main.py
+++ b/numbench/main.py
@@ -93,7 +93,7 @@ try:
# Normal run: import module
cfg.inputfile = os.path.abspath(sys.argv[2])
os.chdir(cfg.scriptdir)
- tmp = __import__(sys.argv[1], fromlist = ['Module'])
+ tmp = __import__('numbench.'+sys.argv[1], fromlist = ['Module'])
mod = tmp.Module(sys.argv[3:])
del tmp
cfg.makedirs()