From 7fd989ac9bed3490cdf3a7150065242489036a8c Mon Sep 17 00:00:00 2001 From: Lina He Date: Fri, 11 Mar 2016 15:19:18 +0100 Subject: [PATCH] Modify a mistake in annotations I found this mistake when reading the documentation of Mopidy. Just add a "to" to the annotation. --- mopidy/local/translator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mopidy/local/translator.py b/mopidy/local/translator.py index 16842f59..b8fcff90 100644 --- a/mopidy/local/translator.py +++ b/mopidy/local/translator.py @@ -46,7 +46,7 @@ def path_to_local_track_uri(relpath): def path_to_local_directory_uri(relpath): - """Convert path relative to :confval:`local/media_dir` directory URI.""" + """Convert path relative to :confval:`local/media_dir` to directory URI.""" if isinstance(relpath, compat.text_type): relpath = relpath.encode('utf-8') return 'local:directory:%s' % urllib.quote(relpath)