Commit ea7f6e36 authored by Stavros Sachtouris's avatar Stavros Sachtouris
Browse files

Fix typo in list_public

parent 34c480f2
......@@ -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:]
else:
......
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