Browse Source

easier

python3
Volker Birk 3 years ago
parent
commit
76bd0c19c9
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      backend.py

+ 3
- 2
backend.py View File

@ -233,8 +233,9 @@ class YF:
def addValue(self, parm, value):
if type(value) is str or type(value) is unicode:
if value[0] != "'" and value[0] != '"':
value = "'" + value + "'"
self.values[parm] = u(evalPython(value))
self.values[parm] = u(value)
else:
self.values[parm] = u(evalPython(value))
else:
self.values[parm] = u(evalPython(u(value)))


Loading…
Cancel
Save