[WIP] do not show table at setup

This commit is contained in:
2023-10-16 16:00:23 +02:00
parent 6195bfb6e5
commit b945dd94ec

View File

@ -310,7 +310,9 @@ class FrappyConfig(Device):
def show_config(self, allcfg, full=False):
proposed, overview = self.to_consider(allcfg)
if full == 'auto' and overview != self._previous_shown or full is True:
if full == 'auto':
full = self._previous_shown is not None and overview != self._previous_shown
if full:
for line in overview:
session.log.info('%s', line)
# remove 'frappy.has_changed()' commands in script queue