示例#1
0
 def loadSessionInfo(self):
     picklePath = self.conf.PicklePath()
     with open(picklePath, 'rb') as f:
         self.__dict__.update(pickle.load(f))
     INFO('成功从文件 file://%s 中恢复 Session info' % picklePath)