Skip to content

Commit

Permalink
Merge pull request #45 from QCoDeS/fix_import
Browse files Browse the repository at this point in the history
Fix import
  • Loading branch information
jenshnielsen authored Sep 14, 2023
2 parents 9afc0b0 + 111825e commit 4c4e584
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/qcodes_loop/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


try:
_register_magic = qcodes.config.core.get('register_magic', False)
_register_magic = qcodes.config.core.get("register_magic", False)
if _register_magic is not False:
# get_ipython is part of the public api but IPython does
# not use __all__ to mark this
Expand All @@ -15,7 +15,7 @@
# Check if we are in IPython
ip = get_ipython()
if ip is not None:
from qcodes.utils.magic import register_magic_class
from qcodes_loop.utils.magic import register_magic_class

register_magic_class(magic_commands=_register_magic)
except ImportError:
Expand Down

0 comments on commit 4c4e584

Please sign in to comment.