diff options
author | Andrea Arteaga <andyspiros@gmail.com> | 2011-08-17 02:00:06 +0200 |
---|---|---|
committer | Andrea Arteaga <andyspiros@gmail.com> | 2011-08-17 02:00:06 +0200 |
commit | 19ddea81510b2426162ee6e3a1ebac3ff96e61ed (patch) | |
tree | ba695b959df91da544e6fbe1d33ecdf664cce324 | |
parent | Added "executable". (diff) | |
download | auto-numerical-bench-19ddea81510b2426162ee6e3a1ebac3ff96e61ed.tar.gz auto-numerical-bench-19ddea81510b2426162ee6e3a1ebac3ff96e61ed.tar.bz2 auto-numerical-bench-19ddea81510b2426162ee6e3a1ebac3ff96e61ed.zip |
Solved import issue.
-rwxr-xr-x | numbench/main.py | 2 |
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() |