diff options
author | Johnathan Corgan <johnathan@corganlabs.com> | 2016-07-25 08:33:08 -0700 |
---|---|---|
committer | Johnathan Corgan <johnathan@corganlabs.com> | 2016-07-25 08:33:08 -0700 |
commit | 38be5bcc7928dd5f9ff19277c2bb12a3972e4c9a (patch) | |
tree | db4dfe18cab09c213043922eee06bbb0e56a0f53 /grc/core/Param.py | |
parent | 8843ffdf4b10c47acf843133af9491ab15ac72d4 (diff) | |
parent | 1c122cbb5cdb1a979fc60e81646a39cbe7b89adf (diff) |
Merge branch 'master' into next
Diffstat (limited to 'grc/core/Param.py')
-rw-r--r-- | grc/core/Param.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/grc/core/Param.py b/grc/core/Param.py index d155800c43..201032d010 100644 --- a/grc/core/Param.py +++ b/grc/core/Param.py @@ -642,10 +642,8 @@ class Param(Element): if t in ('string', 'file_open', 'file_save', '_multiline', '_multiline_python_external'): if not self._init: self.evaluate() - if self._stringify_flag: - return '"%s"' % v.replace('"', '\"') - else: - return v + return repr(v) if self._stringify_flag else v + # Vector types elif t in ('complex_vector', 'real_vector', 'float_vector', 'int_vector'): if not self._init: |