Skip to content

Commit

Permalink
use template_type passed in ctor
Browse files Browse the repository at this point in the history
  • Loading branch information
Riziero authored and tardyp committed Aug 23, 2016
1 parent 62a7381 commit defb919
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion master/buildbot/reporters/message.py
Expand Up @@ -134,4 +134,4 @@ def __call__(self, mode, buildername, buildset, build, master, previous_results,
sourcestamps=self.messageSourceStamps(ss_list)
)
contents = tpl.render(cxt)
return {'body': contents, 'type': 'plain'}
return {'body': contents, 'type': self.template_type}

0 comments on commit defb919

Please sign in to comment.