changeset 1651:5c1d6efd6936

core: fixed getStringParamA
author Goffi <goffi@goffi.org>
date Mon, 23 Nov 2015 17:50:23 +0100
parents b08b828a87c9
children fd7f41d8cbdf
files src/memory/params.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/memory/params.py	Mon Nov 23 16:21:32 2015 +0100
+++ b/src/memory/params.py	Mon Nov 23 17:50:23 2015 +0100
@@ -443,7 +443,7 @@
 
     def getStringParamA(self, name, category, attr="value", profile_key=C.PROF_KEY_NONE):
         """ Same as getParamA but for bridge: convert non string value to string """
-        return self.__type_to_string(self.getParamA(name, category, attr, profile_key))
+        return self.__type_to_string(self.getParamA(name, category, attr, profile_key=profile_key))
 
     def getParamA(self, name, category, attr="value", use_default=True, profile_key=C.PROF_KEY_NONE):
         """Helper method to get a specific attribute.