Skip to content

Commit

Permalink
Merge pull request #1 from FarzinVatani/farzin-issue-fixing-01
Browse files Browse the repository at this point in the history
manrajgrover#157 issue: change decorator implementation
  • Loading branch information
LowLevelLover authored May 9, 2021
2 parents 6ae75b8 + 5d5f412 commit be4d577
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion halo/halo.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ def _get_spinner(self, spinner):
return spinner

if is_supported():
return Spinners[spinner].valueif if all([is_text_type(spinner), spinner in Spinners.__members__]) else default_spinner
return Spinners[spinner].value if all([is_text_type(spinner), spinner in Spinners.__members__]) else default_spinner
else:
return Spinners["line"].value

Expand Down

0 comments on commit be4d577

Please sign in to comment.