Skip to content

Commit

Permalink
Fix bug in copyright name fetching.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdlaird committed Oct 18, 2024
1 parent a43375f commit 84b9766
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion heliumcli/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__copyright__ = "Copyright (c) 2018 Helium Edu"
__license__ = "MIT"
__version__ = "1.6.27"
__version__ = "1.6.28"
2 changes: 1 addition & 1 deletion heliumcli/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def should_update(line, verification, start_needle, end_needle=""):

def get_copyright_name(): # pragma: no cover
if get_config()["copyrightName"]:
return get_config("copyrightName")
return get_config()["copyrightName"]
else:
with open(os.path.join(get_ansible_dir(), "group_vars", "all.yml"), "r") as lines:
data = yaml.safe_load(lines)
Expand Down

0 comments on commit 84b9766

Please sign in to comment.