Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 9eb038542de55f5c7f9f70e64db6d0d905715627 1 parent eadd55d
@maandree maandree authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 ponysay.py
View
4 ponysay.py
@@ -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('$', '$$')
Please sign in to comment.
Something went wrong with that request. Please try again.