diff options
author | Mattias Andrée <maandree@operamail.com> | 2012-08-18 17:59:53 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2012-08-18 17:59:53 +0200 |
commit | 57ceac45a4891e0045c0aec91902ca6741ccf274 (patch) | |
tree | 3f8ab6941c50983f97ad64cebcab3d64bf0b4d5f | |
parent | 1dc737fb8b51e224ed29e60ae3c1751e3d54f31f (diff) | |
download | ponysay-57ceac45a4891e0045c0aec91902ca6741ccf274.tar.gz ponysay-57ceac45a4891e0045c0aec91902ca6741ccf274.tar.bz2 ponysay-57ceac45a4891e0045c0aec91902ca6741ccf274.zip |
Message can now contain ':s
-rwxr-xr-x | ponysay.py | 2 |
1 files changed, 1 insertions, 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('\'', '\'\\\'\'') + '\'') |