Skip to content

Commit 8a39ed1

Browse files
encukouhroncok
authored andcommitted
Use correct default in MetaInfo.branch
1 parent 7770a15 commit 8a39ed1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

naucse/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -797,7 +797,7 @@ def branch(self):
797797
return repo.active_branch.name
798798
except TypeError: # thrown if not in a branch
799799
logger.warning("MetaInfo.branch: There is not active branch")
800-
return self._default_slug
800+
return self._default_branch
801801

802802

803803
class Root(Model):

0 commit comments

Comments
 (0)