diff --git a/mopidy/core/actor.py b/mopidy/core/actor.py index 9c03d035..8eb3bb36 100644 --- a/mopidy/core/actor.py +++ b/mopidy/core/actor.py @@ -141,6 +141,7 @@ class Core( CoreListener.send('stream_title_changed', title=title) def setup(self): + """ Do not call this function. It is for internal use at startup.""" try: coverage = [] if self._config and 'restore_state' in self._config['core']: @@ -152,6 +153,7 @@ class Core( logger.warn('Restore state: Unexpected error: %s', str(e)) def teardown(self): + """ Do not call this function. It is for internal use at shutdown.""" try: if self._config and 'restore_state' in self._config['core']: amount = self._config['core']['restore_state']