summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/builder/base.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/app/builder/base.py b/app/builder/base.py
index a26a857..6dd32e2 100644
--- a/app/builder/base.py
+++ b/app/builder/base.py
@@ -315,10 +315,9 @@ class BuildProjects(Build):
def get_projects(self):
all_proj = []
- projects = apps.get_model('projects', 'Project').objects.get(pk=2)
- for proj in projects:
- row = {'slug': proj.slug, 'name': proj.model_name}
- all_proj.append(row)
+ proj = apps.get_model('projects', 'Project').objects.get(pk=2)
+ row = {'slug': proj.slug, 'name': proj.model_name}
+ all_proj.append(row)
return all_proj
def build_project_archive(self):