aboutsummaryrefslogtreecommitdiff
path: root/ponysay.py
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2012-10-11 23:09:44 +0200
committerMattias Andrée <maandree@operamail.com>2012-10-11 23:09:44 +0200
commit43959ae2c58c9996f030d9e5d2918b58b198bf54 (patch)
treeceea7bd8e5ff7b3606409201269e1fb07a8572a9 /ponysay.py
parent6892c51ba65bccfb06fef3cf0413bd87185b0aa1 (diff)
parentd6ff403fc7122fdb818c7600c875589141f3b126 (diff)
downloadponysay-43959ae2c58c9996f030d9e5d2918b58b198bf54.tar.gz
ponysay-43959ae2c58c9996f030d9e5d2918b58b198bf54.tar.bz2
ponysay-43959ae2c58c9996f030d9e5d2918b58b198bf54.zip
Merge branch 'master' into develop
Diffstat (limited to 'ponysay.py')
-rwxr-xr-xponysay.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ponysay.py b/ponysay.py
index 270bc7f..90520ec 100755
--- a/ponysay.py
+++ b/ponysay.py
@@ -1325,8 +1325,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('$', '$$')