From 0c6a5d58231afba2ac3e09c4c3bad2a75f417985 Mon Sep 17 00:00:00 2001 From: Aleksandar Benic Date: Fri, 14 Oct 2016 05:12:28 +0200 Subject: [PATCH 1/3] Change error wording --- mopidy/local/storage.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mopidy/local/storage.py b/mopidy/local/storage.py index aaa74fba..3c57a527 100644 --- a/mopidy/local/storage.py +++ b/mopidy/local/storage.py @@ -9,5 +9,6 @@ logger = logging.getLogger(__name__) def check_dirs_and_files(config): if not os.path.isdir(config['local']['media_dir']): logger.warning( - 'Local media dir %s does not exist.' % + 'Local media dir %s does not exist or we lack \ + permissions to the directory or one of it\'s parents' % config['local']['media_dir']) From 4ddb225955c5672d76c93936f8535169c14aec35 Mon Sep 17 00:00:00 2001 From: Aleksandar Benic Date: Sun, 23 Oct 2016 12:55:05 +0200 Subject: [PATCH 2/3] Lapsus calami --- mopidy/local/storage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mopidy/local/storage.py b/mopidy/local/storage.py index 3c57a527..2c06c0da 100644 --- a/mopidy/local/storage.py +++ b/mopidy/local/storage.py @@ -10,5 +10,5 @@ def check_dirs_and_files(config): if not os.path.isdir(config['local']['media_dir']): logger.warning( 'Local media dir %s does not exist or we lack \ - permissions to the directory or one of it\'s parents' % + permissions to the directory or one of its parents' % config['local']['media_dir']) From cd6bfeb68105e58e6e4fe6542f8fc126363b6015 Mon Sep 17 00:00:00 2001 From: Aleksandar Benic Date: Sun, 23 Oct 2016 13:33:07 +0200 Subject: [PATCH 3/3] Fix formatting --- mopidy/local/storage.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mopidy/local/storage.py b/mopidy/local/storage.py index 2c06c0da..e1771530 100644 --- a/mopidy/local/storage.py +++ b/mopidy/local/storage.py @@ -9,6 +9,5 @@ logger = logging.getLogger(__name__) def check_dirs_and_files(config): if not os.path.isdir(config['local']['media_dir']): logger.warning( - 'Local media dir %s does not exist or we lack \ - permissions to the directory or one of its parents' % - config['local']['media_dir']) + 'Local media dir %s does not exist or we lack permissions to the ' + 'directory or one of its parents' % config['local']['media_dir'])