Modify a mistake in annotations

I found this mistake when reading the documentation of Mopidy. Just add
a "to"  to the annotation.
This commit is contained in:
Lina He 2016-03-11 15:19:18 +01:00
parent be568b769f
commit 7fd989ac9b

View File

@ -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)