def getKeyFilesPath(self): ''' It returns decoded key files path for this item or None if it is not stored. ''' if self.__keyFilesPath == "" or self.__keyFilesPath == None: self.__keyFilesPath = __settings__.getSetting(consts.keyFiles + str(self.index)) if self.__keyFilesPath == "": return None return sutils.decodeStr(self.__keyFilesPath)
def getPassword(self): ''' It returns decoded password for this item or None if it is not stored. ''' if self.__password == "" or self.__password == None: self.__password = __settings__.getSetting(consts.password + str(self.index)) if self.__password == "": return None return sutils.decodeStr(self.__password)
def getPassword(self): if self.password == "" or self.password == None : self.password =__settings__.getSetting("password" + str(self.index)); if self.password == "" : return None; return sutils.decodeStr(self.password);