view feedworm-gui.py @ 37:22214d79ed41

database URL must be given as commandline argument now, no need for creating complicated config files. Add a menu entry for opening the selected article in browser.
author Dirk Olmes <dirk@xanthippe.ping.de>
date Fri, 14 May 2010 06:16:05 +0200
parents 74b8c9a9d5de
children 11bac653edfd
line wrap: on
line source


import Database
from MainWindow import MainWindow
from PyQt4 import QtGui
import sys
import util

if __name__ == '__main__':
    util.configureLogging()
    session = Database.createSession()
    
    app = QtGui.QApplication(sys.argv)
    mainWindow = MainWindow(session)
    mainWindow.show()
    sys.exit(app.exec_())