summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Arteaga <andyspiros@gmail.com>2011-08-17 02:00:06 +0200
committerAndrea Arteaga <andyspiros@gmail.com>2011-08-17 02:00:06 +0200
commit19ddea81510b2426162ee6e3a1ebac3ff96e61ed (patch)
treeba695b959df91da544e6fbe1d33ecdf664cce324
parentAdded "executable". (diff)
downloadauto-numerical-bench-19ddea81510b2426162ee6e3a1ebac3ff96e61ed.tar.gz
auto-numerical-bench-19ddea81510b2426162ee6e3a1ebac3ff96e61ed.tar.bz2
auto-numerical-bench-19ddea81510b2426162ee6e3a1ebac3ff96e61ed.zip
Solved import issue.
-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()