diff --git a/indi_allsky/config.py b/indi_allsky/config.py index 336b98c3f..d646b77e8 100644 --- a/indi_allsky/config.py +++ b/indi_allsky/config.py @@ -552,6 +552,11 @@ def _bootstrap(self, **kwargs): def list(self, **kwargs): + with app.app_context(): + self._list(**kwargs) + + + def _list(self, **kwargs): table = PrettyTable() table.field_names = ['ID', 'Create Date', 'User ID', 'Level', 'Note']