Skip to content

Commit

Permalink
Typo fixes (#151)
Browse files Browse the repository at this point in the history
* Typo fixes

* Make printed statements more consistent
  • Loading branch information
adamltyson authored Jun 12, 2023
1 parent b6e955d commit 65062a9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions bg_atlasapi/bg_atlas.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def __init__(
raise ValueError(f"{atlas_name} is not a valid atlas name!")

rprint(
f"[magenta2]Bgatlas_api: {self.atlas_name} "
f"[magenta2]bg_atlasapi: {self.atlas_name} "
"not found locally. Downloading...[magenta2]"
)
self.download_extract_file()
Expand Down Expand Up @@ -188,7 +188,7 @@ def check_latest_version(self):

if local != online:
rprint(
f"[b][magenta2]Bg_atlasapi[/b]: "
f"[b][magenta2]bg_atlasapi[/b]: "
f"[b]{self.atlas_name}[/b] version [b]{local}[/b]"
f"is not the latest available ([b]{online}[/b]). "
"To update the atlas run in the terminal:[/magenta2]\n"
Expand Down
4 changes: 2 additions & 2 deletions bg_atlasapi/update_atlases.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def update_atlas(atlas_name, force=False):
shutil.rmtree(fld)
if fld.exists():
raise ValueError(
"Something went wrong while tryint to delete the old version "
"Something went wrong while trying to delete the old version "
"of the atlas, aborting."
)

Expand Down Expand Up @@ -72,7 +72,7 @@ def install_atlas(atlas_name):
available_atlases = get_downloaded_atlases()
if atlas_name in available_atlases:
rprint(
f"[b][magenta2]Bg_atlasapi: installing {atlas_name}: "
f"[b][magenta2]bg_atlasapi: installing {atlas_name}: "
"atlas already installed![/magenta2][/b]"
)
return
Expand Down

0 comments on commit 65062a9

Please sign in to comment.