Commit 5d1c0299 authored by Matthias Urlichs's avatar Matthias Urlichs

_get_dir_url() may be called without a path

parent 20ee4cd2
...@@ -285,7 +285,7 @@ class FileAdmin(BaseView, ActionsMixin): ...@@ -285,7 +285,7 @@ class FileAdmin(BaseView, ActionsMixin):
""" """
file_data.save(path) file_data.save(path)
def _get_dir_url(self, endpoint, path, **kwargs): def _get_dir_url(self, endpoint, path=None, **kwargs):
""" """
Return prettified URL Return prettified URL
......
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