mirror of
https://github.com/accumulator/charge-lnd.git
synced 2026-08-13 12:33:01 +02:00
Prevent function returning int (#88)
This commit is contained in:
parent
180270b103
commit
de5fc6a87f
1 changed files with 5 additions and 5 deletions
|
|
@ -35,16 +35,16 @@ def print_chanid(chan_id):
|
|||
return "%sx%sx%s" % lnd_to_cl_scid(chan_id)
|
||||
|
||||
def col_lo(s):
|
||||
return colored(s,'white', attrs=['dark'])
|
||||
return str(colored(s,'white', attrs=['dark']))
|
||||
|
||||
def col_hi(s):
|
||||
return colored(s,'white', attrs=['bold'])
|
||||
return str(colored(s,'white', attrs=['bold']))
|
||||
|
||||
def col_name(s):
|
||||
return colored(s,'blue', attrs=['bold'])
|
||||
return str(colored(s,'blue', attrs=['bold']))
|
||||
|
||||
def col_err(s):
|
||||
return colored(s,'red', attrs=['bold'])
|
||||
return str(colored(s,'red', attrs=['bold']))
|
||||
|
||||
def col_val(s):
|
||||
return colored(s,'yellow', attrs=['bold'])
|
||||
return str(colored(s,'yellow', attrs=['bold']))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue