diff src/memory/params.py @ 1651:5c1d6efd6936

core: fixed getStringParamA
author Goffi <goffi@goffi.org>
date Mon, 23 Nov 2015 17:50:23 +0100
parents 31b96ac3eec2
children 1ed269c5f295
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.