diff --git a/commands.py b/commands.py index df53b44..8d80c68 100644 --- a/commands.py +++ b/commands.py @@ -39,7 +39,7 @@ if home not in sys.path: # for newer Frappy installations this should be home (= /home/) # the following line fixes this in case nicos.conf is not yet updated sys.path.append(home) -from servicemanager import FrappyManager, SeaManager +from servicemanager import FrappyManager def cleanup_defunct(): @@ -152,7 +152,7 @@ def frappy(*args, main=None, stick=None, addons=None): - addons are not changed when not given - frappy(main='') # main cfg is changed, but stick is kept """ - seacfg = SeaManager().guess_frappy_cfg(config.instrument) + seacfg = FrappyManager().cfg_from_sea(config.instrument) if args: if main is not None: raise TypeError('got multiple values for main')