Commit 5371ef0c authored by Diederik van der Boor's avatar Diederik van der Boor
Browse files

Fixed TypeError due to passing `self` to the access function

parent 0e9c2fea
...@@ -20,7 +20,7 @@ class PrivateStorageView(View): ...@@ -20,7 +20,7 @@ class PrivateStorageView(View):
storage = private_storage storage = private_storage
#: The authorisation rule for accessing #: The authorisation rule for accessing
can_access_file = import_symbol(appconfig.PRIVATE_STORAGE_AUTH_FUNCTION) can_access_file = staticmethod(import_symbol(appconfig.PRIVATE_STORAGE_AUTH_FUNCTION))
#: Import the server class once #: Import the server class once
server_class = get_server_class(appconfig.PRIVATE_STORAGE_SERVER) server_class = get_server_class(appconfig.PRIVATE_STORAGE_SERVER)
......
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