Skip to content

Commit

Permalink
new version
Browse files Browse the repository at this point in the history
  • Loading branch information
kkristof200 committed Jan 12, 2021
1 parent 2afe5ac commit 85fa588
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions colored_logs/models/color_pair.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,8 @@ def __init__(
self.foreground = self.__color(foreground)
self.background = self.__color(background)

def __color(
self,
color: Optional[Union[str, Color]]
) -> Optional[ColorPair]:
@staticmethod
def __color(color: Optional[Union[str, Color]]) -> Optional:
if not color:
return None

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="colored_logs",
version="0.2.9",
version="0.2.10",
author="Kovacs Kristof-Attila",
description="A colored logs package based on 'colored'",
long_description=long_description,
Expand Down

0 comments on commit 85fa588

Please sign in to comment.