Fixed some bugs

remotes/origin/enhancement/email-actions
David Barragán Merino 2014-03-04 11:54:31 +01:00
parent 6682e37e92
commit 805f9b832c
1 changed files with 2 additions and 2 deletions

View File

@ -2,9 +2,9 @@ from taiga.projects.models import UserStoryStatus
class ProjectTemplateManager():
def apply(self, template, project):
if not hasattr(self, template):
if not hasattr(self, "template"):
return False
template = getattr(self, template)
template = getattr(self, "template")
template(project)
def legal(self, project):