mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-20 10:34:30 +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
|
pass
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from exmachina import ExMachinaClient
|
from exmachina.exmachina import ExMachinaClient
|
||||||
except ImportError:
|
except ImportError:
|
||||||
cfg.exmachina = None
|
cfg.exmachina = None
|
||||||
|
print "unable to import exmachina client library, but continuing anyways..."
|
||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
cfg.exmachina = ExMachinaClient(
|
cfg.exmachina = ExMachinaClient(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user