easier
authorVolker Birk <vb@pep.foundation>
Wed, 29 Aug 2018 23:57:58 +0200
changeset 22 3a2bd70c01df
parent 21 5df774142d74
child 23 f2e8837da4e9
child 52 b4a9a3122abb
easier
backend.py
--- a/backend.py	Wed Aug 29 23:53:30 2018 +0200
+++ b/backend.py	Wed Aug 29 23:57:58 2018 +0200
@@ -233,8 +233,9 @@
     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)))