Commit 6325d148 authored by Stavros Sachtouris's avatar Stavros Sachtouris
Browse files

Fix typo in list_public

parent a8a65dba
......@@ -76,7 +76,7 @@ class ImageClient(Client):
for key, value in filters.items():
if value:
async_params[key] = value
if order.startswith('-'):
if order and order.startswith('-'):
async_params['sort_dir'] = 'desc'
order = order[1:]
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