From 5d5f412c9ec45f55288d3fe75397ff1b3a26a972 Mon Sep 17 00:00:00 2001 From: Farzin Date: Sun, 9 May 2021 07:55:51 +0430 Subject: [PATCH] fix typing fault --- halo/halo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/halo/halo.py b/halo/halo.py index 823279f..ad769a8 100644 --- a/halo/halo.py +++ b/halo/halo.py @@ -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