Пример #1
0
def main():
    db.initDB()
    app=QtGui.QApplication(sys.argv)
    tree=FeedTree()
    tree.initTree()
    tree.show()
    sys.exit(app.exec_())
Пример #2
0
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()
Пример #3
0
def main():
    datatable.initDB()
    #  elixir.metadata.bind.echo = True
    feedUpdater()