mirror of
https://github.com/erkin/ponysay.git
synced 2025-03-29 14:57:43 +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 c == '$':
|
||||||
if dollar is not None:
|
if dollar is not None:
|
||||||
if '=' in dollar:
|
if '=' in dollar:
|
||||||
name = dollar[:find('=')]
|
name = dollar[:dollar.find('=')]
|
||||||
value = dollar[find('=') + 1:]
|
value = dollar[dollar.find('=') + 1:]
|
||||||
variables[name] = value
|
variables[name] = value
|
||||||
elif not dollar.startswith('balloon'):
|
elif not dollar.startswith('balloon'):
|
||||||
data = variables[dollar].replace('$', '$$')
|
data = variables[dollar].replace('$', '$$')
|
||||||
|
|
Loading…
Add table
Reference in a new issue