From 2c4c7bce3356a3d46adae6f99144be1139581171 Mon Sep 17 00:00:00 2001 From: Serghei Mihai Date: Tue, 22 Sep 2015 14:07:40 +0200 Subject: [PATCH] lingo: return empty items list if user not logged in (#8309) --- combo/apps/lingo/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/combo/apps/lingo/models.py b/combo/apps/lingo/models.py index 615cf6d7..74799be6 100644 --- a/combo/apps/lingo/models.py +++ b/combo/apps/lingo/models.py @@ -109,6 +109,7 @@ class Regie(models.Model): if items.get('data'): return [build_remote_item(item, self) for item in items.get('data')] return [] + return [] def download_item(self, request, item_id): """