mirror of
https://github.com/erkin/ponysay.git
synced 2024-11-22 04:27:58 +01:00
$name=value$ in .pony files support bug fix
This commit is contained in:
parent
eadd55dcb7
commit
9eb038542d
1 changed files with 2 additions and 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('$', '$$')
|
||||
|
|
Loading…
Reference in a new issue