Skip to content
This repository has been archived by the owner on Dec 29, 2023. It is now read-only.

Commit

Permalink
Add helper function to format_string with ASCII colors
Browse files Browse the repository at this point in the history
  • Loading branch information
srevinsaju committed Aug 27, 2020
1 parent 62da248 commit e912daf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions guiscrcpy/lib/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,5 @@ def check_existence(paths, filename="", directory=True, path=False):
return False
else:
return False
def format_colors(string, **kwargs):
return string.format(**kwargs, **COLORS)

0 comments on commit e912daf

Please sign in to comment.