mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-06-19 00:17:51 +02:00
remove single quotes around asciified string
This commit is contained in:
@ -90,8 +90,10 @@ def asciify(string):
|
|||||||
conversions.
|
conversions.
|
||||||
"""
|
"""
|
||||||
string = string.replace('©', '(c)')
|
string = string.replace('©', '(c)')
|
||||||
string = ascii(string)
|
# the ascii() function adds single quotes around the string
|
||||||
return string.replace(r'\n', '\n')
|
string = ascii(string)[1:-1]
|
||||||
|
string = string.replace(r'\n', '\n')
|
||||||
|
return string
|
||||||
|
|
||||||
|
|
||||||
def set_env_colors(env_colors=None):
|
def set_env_colors(env_colors=None):
|
||||||
|
Reference in New Issue
Block a user