示例#1
0
文件: Run.py 项目: GJdan/MangaCMS
	def _go(self):

		self.log.info("Checking Fakku feeds for updates")
		fl = FakkuFeedLoader()
		fl.go()
		fl.closeDB()

		time.sleep(3)
		#print "wat", cl

		if not runStatus.run:
			return

		cl = FakkuContentLoader()

		if not runStatus.run:
			return

		todo = cl.retreiveTodoLinksFromDB()

		if not runStatus.run:
			return

		cl.processTodoLinks(todo)
		cl.closeDB()
示例#2
0
文件: Run.py 项目: gregseb/MangaCMS
    def _go(self):

        self.log.info("Checking Fakku feeds for updates")
        fl = FakkuFeedLoader()
        fl.go()
        fl.closeDB()

        time.sleep(3)
        #print "wat", cl

        if not runStatus.run:
            return

        cl = FakkuContentLoader()

        if not runStatus.run:
            return

        todo = cl.retreiveTodoLinksFromDB()

        if not runStatus.run:
            return

        cl.processTodoLinks(todo)
        cl.closeDB()