Skip to content

Commit

Permalink
Remove hardcorded master branch reference
Browse files Browse the repository at this point in the history
  • Loading branch information
cdubz committed Oct 21, 2023
1 parent 6b7b0e2 commit aefee78
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions babybuddy/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,5 @@ class BabyBuddyConfig(AppConfig):
version_string = VERSION

def ready(self):
if os.path.isfile(".git/refs/heads/master"):
commit = open(".git/refs/heads/master").read()
self.version_string += " ({})".format(commit[0:7])
post_migrate.connect(create_read_only_group, sender=self)
post_migrate.connect(set_default_site_settings, sender=self)

0 comments on commit aefee78

Please sign in to comment.