remove trailing space

This commit is contained in:
Paul Jongsma 2016-12-13 10:41:39 +01:00
parent 9ba2f99ea2
commit 2003eceba1

View File

@ -40,7 +40,7 @@ def register(app, uri, file_or_directory, pattern, use_modified_since):
file_path = path.join(file_or_directory, sub('^[/]*', '', file_uri)) \
if file_uri else file_or_directory
# URL decode the path sent by the browser otherwise we won't be able to
# URL decode the path sent by the browser otherwise we won't be able to
# match filenames which got encoded (filenames with spaces etc)
file_path = unquote(file_path)
try: