mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +00:00
Merge pull request #18 from petterreinholdtsen/find-exmachina-client-library
Fix typo blocking access to exmachina, and report the problem if unable ...
This commit is contained in:
commit
60fa9b0ee0
@ -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