From 24cd2c385d5177e194b2e3f2d18eeb1b2a28291f Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Sun, 27 Sep 2015 16:35:33 +0200 Subject: better comments --- voctogui/voctogui.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/voctogui/voctogui.py b/voctogui/voctogui.py index 1ca6579..703bb67 100755 --- a/voctogui/voctogui.py +++ b/voctogui/voctogui.py @@ -103,18 +103,22 @@ def main(): logging.info('Python Version: %s', sys.version_info) logging.info('GStreamer Version: %s', Gst.version()) - # connect to server + # establish a synchronus connection to server Connection.establish( Config.get('server', 'host')) # fetch config from server Config.fetchServerConfig() + + # switch connection to nonblocking, event-driven mode Connection.enterNonblockingMode() # init main-class and main-loop + # (this binds all event-hander on the Connection) logging.debug('initializing Voctogui') voctogui = Voctogui() + # start the Mainloop and show the Window logging.debug('running Voctogui') voctogui.run() -- cgit v1.2.3