Skip to content

Commit

Permalink
fmt force to str
Browse files Browse the repository at this point in the history
  • Loading branch information
accumulator committed Dec 6, 2023
1 parent daa1a83 commit dd71e3f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions charge_lnd/fmt.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,16 @@ def print_chanid(chan_id):
return "%sx%sx%s" % lnd_to_cl_scid(chan_id)

def col_lo(s):
return str(colored(s,'white', attrs=['dark']))
return str(colored(str(s),'white', attrs=['dark']))

def col_hi(s):
return str(colored(s,'white', attrs=['bold']))
return str(colored(str(s),'white', attrs=['bold']))

def col_name(s):
return str(colored(s,'blue', attrs=['bold']))
return str(colored(str(s),'blue', attrs=['bold']))

def col_err(s):
return str(colored(s,'red', attrs=['bold']))
return str(colored(str(s),'red', attrs=['bold']))

def col_val(s):
return str(colored(s,'yellow', attrs=['bold']))
return str(colored(str(s),'yellow', attrs=['bold']))

0 comments on commit dd71e3f

Please sign in to comment.