changeset 36:74b8c9a9d5de

adjust the gui starter to the new database initialization
author Dirk Olmes <dirk@xanthippe.ping.de>
date Wed, 05 May 2010 03:10:15 +0200
parents aaec263f07ca
children 22214d79ed41
files feedworm-gui.py
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/feedworm-gui.py	Wed May 05 03:07:59 2010 +0200
+++ b/feedworm-gui.py	Wed May 05 03:10:15 2010 +0200
@@ -1,12 +1,13 @@
 
+import Database
 from MainWindow import MainWindow
 from PyQt4 import QtGui
 import sys
-from util import configureLogging, createSession
+import util
 
 if __name__ == '__main__':
-    configureLogging()
-    session = createSession()
+    util.configureLogging()
+    session = Database.createSession()
     
     app = QtGui.QApplication(sys.argv)
     mainWindow = MainWindow(session)