core: fixed getStringParamA

This commit is contained in:
Goffi 2015-11-23 17:50:23 +01:00
commit cb27db7cdf

View file

@ -443,7 +443,7 @@ class Params(object):
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.