diff options
author | Mattias Andrée <maandree@operamail.com> | 2012-10-10 20:51:48 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2012-10-10 20:51:48 +0200 |
commit | 9eb038542de55f5c7f9f70e64db6d0d905715627 (patch) | |
tree | f42b65596bce74dd32100857a46f7f204369f670 | |
parent | eadd55dcb77c5fadb0de203da211af3eae7751c7 (diff) | |
download | ponysay-9eb038542de55f5c7f9f70e64db6d0d905715627.tar.gz ponysay-9eb038542de55f5c7f9f70e64db6d0d905715627.tar.bz2 ponysay-9eb038542de55f5c7f9f70e64db6d0d905715627.zip |
$name=value$ in .pony files support bug fix
-rwxr-xr-x | ponysay.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1304,8 +1304,8 @@ class Backend(): if c == '$': if dollar is not None: if '=' in dollar: - name = dollar[:find('=')] - value = dollar[find('=') + 1:] + name = dollar[:dollar.find('=')] + value = dollar[dollar.find('=') + 1:] variables[name] = value elif not dollar.startswith('balloon'): data = variables[dollar].replace('$', '$$') |