mirror of
https://github.com/erkin/ponysay.git
synced 2024-11-26 14:18:00 +01:00
Message can now contain ':s
This commit is contained in:
parent
1dc737fb8b
commit
57ceac45a4
1 changed files with 1 additions and 1 deletions
|
@ -331,7 +331,7 @@ class ponysay():
|
|||
|
||||
if linuxvt:
|
||||
print('\033[H\033[2J', end='')
|
||||
os.system(cmd + (' -W ' + args.wrap if args.wrap is not None else '') + ' -f ' + pony + ' \'' + msg + '\'')
|
||||
os.system(cmd + (' -W ' + args.wrap if args.wrap is not None else '') + ' -f ' + pony + ' \'' + msg.replace('\'', '\'\\\'\'') + '\'')
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue