Permalink
Browse files

$name=value$ in .pony files support bug fix

  • Loading branch information...
1 parent eadd55d commit 9eb038542de55f5c7f9f70e64db6d0d905715627 @maandree maandree committed Oct 10, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 ponysay.py
View
@@ -1304,8 +1304,8 @@ def __processPony(self):
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('$', '$$')

0 comments on commit 9eb0385

Please sign in to comment.