mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
Fix typo blocking access to exmachina, and report the problem if unable to load the exmachina client library.
This commit is contained in:
parent
ec9a457e3e
commit
bad8939389
@ -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(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user