Commit fd98e017 authored by Stratos Psomadakis's avatar Stratos Psomadakis
Browse files

Fix plankton shared_from image listing

Commit 469d099 introduced a typo which caused /plankton/shared_images/
to raise an UnboundLocalError.
parent 56346933
......@@ -342,6 +342,7 @@ class ImageBackend(object):
# To get shared images, we connect as shared_from member and
# get the list shared by us
user = shared_from
accounts = [self.user]
user = None if public else self.user
accounts = backend.list_accounts(user)
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