diff --git a/mopidy/core.py b/mopidy/core.py index 118ed99a..b3ce9070 100644 --- a/mopidy/core.py +++ b/mopidy/core.py @@ -118,5 +118,5 @@ def stop_frontends(): for frontend_class_name in settings.FRONTENDS: try: stop_actors_by_class(get_class(frontend_class_name)) - except OptionalDependencyError as e: + except OptionalDependencyError: pass diff --git a/mopidy/utils/process.py b/mopidy/utils/process.py index 734b20c5..758f8943 100644 --- a/mopidy/utils/process.py +++ b/mopidy/utils/process.py @@ -27,7 +27,7 @@ def exit_handler(signum, frame): def stop_actors_by_class(klass): actors = ActorRegistry.get_by_class(klass) - logger.debug('Stopping %d instance(s) of %s', len(actors), klass.__name__) + logger.debug(u'Stopping %d instance(s) of %s', len(actors), klass.__name__) for actor in actors: actor.stop()