Skip to content

Commit

Permalink
Adapt to blissdata
Browse files Browse the repository at this point in the history
  • Loading branch information
vasole committed Oct 17, 2023
1 parent 089b407 commit 5c45008
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions PyMca5/PyMcaCore/RedisTools.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,13 @@
_logger = logging.getLogger(__name__)

from bliss.config import get_sessions_list
from bliss.config.settings import scan as rdsscan
from bliss.data.node import get_node, get_nodes
try:
from blissdata.settings import scan as rdsscan
from blissdata.data.node import get_node, get_nodes
except ImportError:
_logger.info("Trying deprecated access to Redis")
from bliss.config.settings import scan as rdsscan
from bliss.data.node import get_node, get_nodes

_NODE_TYPES = [ "channel",
"lima",
Expand Down

0 comments on commit 5c45008

Please sign in to comment.