Commit 024408a4 authored by Dmitry Shapovalov's avatar Dmitry Shapovalov

Fixed typo in fileadmin.py

parent 93d94683
......@@ -551,7 +551,7 @@ class FileAdmin(BaseView, ActionsMixin):
try:
shutil.rmtree(full_path)
self.on_diretory_delete(full_path, path)
self.on_directory_delete(full_path, path)
flash(gettext('Directory "%s" was successfully deleted.' % path))
except Exception, ex:
flash(gettext('Failed to delete directory: %(error)s', error=ex), 'error')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment