예제 #1
0
파일: User.py 프로젝트: djohsson/imouto
 def __init__(self, nick, path):
     self.nick = nick
     self.lasthour = ""
     self.lastmsg = ""
     self.path = path + nick + "/"
     self.msgfound = False
     self.msgtime = 0
     iohandler.createfiles(self.path)
     self.answers = {}
     for i in range(25):
         self.answers[i] = iohandler.getall_lines(self.path, i)
예제 #2
0
파일: User.py 프로젝트: oscarekholm/imouto
	def getallanswers(self, hour):
		answers = iohandler.getall_lines(self.path, hour)
		return answers