diff options
-rw-r--r-- | slave/autotua/config.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/slave/autotua/config.py b/slave/autotua/config.py index 8b1bdb0..2474112 100644 --- a/slave/autotua/config.py +++ b/slave/autotua/config.py @@ -44,7 +44,9 @@ if os.path.exists('%s/slave.cfg' % const.CONFIG_PATH): exec('%s = %s' % (option, cfg.getint('global', option.lower()))) if not AUTOTUA_MASTER: - raise Exception('You need to set the autotua_master variable in slave.cfg (or AUTOTUA_MASTER in config.py)') + print "!!! WARNING: You did not edit the autotua_master variable in slave.cfg (or AUTOTUA_MASTER in config.py)" + print "!!! Using default value of http://localhost:8000/" + AUTOTUA_MASTER = 'http://localhost:8000' # Import all the constants now from const import * |