Show More
@@ -348,7 +348,7 b' class FileContentsManager(FileManagerMixin, ContentsManager):' | |||||
348 | else: |
|
348 | else: | |
349 | if type == 'directory': |
|
349 | if type == 'directory': | |
350 | raise web.HTTPError(400, |
|
350 | raise web.HTTPError(400, | |
351 | u'%s is not a directory', reason='bad type') |
|
351 | u'%s is not a directory' % path, reason='bad type') | |
352 | model = self._file_model(path, content=content, format=format) |
|
352 | model = self._file_model(path, content=content, format=format) | |
353 | return model |
|
353 | return model | |
354 |
|
354 |
General Comments 0
You need to be logged in to leave comments.
Login now