Skip to content

Commit 8ae7a93

Browse files
committed
Use branch default name from settings
1 parent 977a54c commit 8ae7a93

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

codespeed/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def __unicode__(self):
9898
else:
9999
date = self.date.strftime("%h %d, %H:%M")
100100
string = " - ".join(filter(None, (date, self.commitid, self.tag)))
101-
if self.branch.name != "default":
101+
if self.branch.name != settings.DEF_BRANCH:
102102
string += " - " + self.branch.name
103103
return string
104104

0 commit comments

Comments
 (0)