def main(): db.initDB() app=QtGui.QApplication(sys.argv) tree=FeedTree() tree.initTree() tree.show() sys.exit(app.exec_())
def main(): # global root_feed # Backup the DB and config file # info ("Backing up %s"%config.cfdir) # backup_files(config.cfdir) datatable.initDB() # Start background updater p = multiprocessing.Process(target=feedupdater.feedUpdater) # p.setDaemon(True) p.start() # info("Updater PID: %d"%p.getPid()) # 主界面 rssReader.main()
def main(): datatable.initDB() # elixir.metadata.bind.echo = True feedUpdater()