From 67ad2cf6b5f84796ad03dc753dae25a673fe9689 Mon Sep 17 00:00:00 2001 From: Marc Aymerich Date: Sun, 9 Nov 2014 10:17:59 +0000 Subject: [PATCH] Fixed webapp.get_name() --- orchestra/apps/webapps/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orchestra/apps/webapps/models.py b/orchestra/apps/webapps/models.py index 7d1f570d..56a26cfc 100644 --- a/orchestra/apps/webapps/models.py +++ b/orchestra/apps/webapps/models.py @@ -34,7 +34,7 @@ class WebApp(models.Model): return { opt.name: opt.value for opt in self.options.all() } def get_name(self): - return return self.name or settings.WEBAPPS_BLANK_NAME + return self.name or settings.WEBAPPS_BLANK_NAME def get_fpm_port(self): return settings.WEBAPPS_FPM_START_PORT + self.account.pk