Fix typo blocking access to exmachina, and report the problem if unable to load the exmachina client library.

This commit is contained in:
Petter Reinholdtsen committed 2013-09-11 13:46:37 +02:00
1 parent ec9a457e3e
commit bad8939389
1 file changed
+2 -1
+2 -1
View File
@@ -114,9 +114,10 @@ def setup():
pass
try:
from exmachina import ExMachinaClient
from exmachina.exmachina import ExMachinaClient
except ImportError:
cfg.exmachina = None
print "unable to import exmachina client library, but continuing anyways..."
else:
try:
cfg.exmachina = ExMachinaClient(