def set(self, key, value):
     """ Set the value of a config parameter """
     strval = value
     if (isinstance(value, QString)):
         strval = str(value)
     Config.set(self, key, strval)
示例#2
0
 def set(self, key, value):
     """ Set the value of a config parameter """
     strval = value
     if (isinstance(value, QString)):
         strval = str(value)
     Config.set(self, key, strval)