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:
parent
be568b769f
commit
7fd989ac9b
@ -46,7 +46,7 @@ def path_to_local_track_uri(relpath):
|
|||||||
|
|
||||||
|
|
||||||
def path_to_local_directory_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):
|
if isinstance(relpath, compat.text_type):
|
||||||
relpath = relpath.encode('utf-8')
|
relpath = relpath.encode('utf-8')
|
||||||
return 'local:directory:%s' % urllib.quote(relpath)
|
return 'local:directory:%s' % urllib.quote(relpath)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user