mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-13 10:30:16 +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
|
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