diff options
author | MaZderMind <git@mazdermind.de> | 2015-09-27 16:35:33 +0200 |
---|---|---|
committer | MaZderMind <git@mazdermind.de> | 2015-09-27 16:35:33 +0200 |
commit | 24cd2c385d5177e194b2e3f2d18eeb1b2a28291f (patch) | |
tree | b7fb8cb07a2283f5f41efaa744f9307c0de581bb /voctogui/voctogui.py | |
parent | b30ba5aff5f1d0bce7ab47c1818a5b07f1aba3d7 (diff) |
better comments
Diffstat (limited to 'voctogui/voctogui.py')
-rwxr-xr-x | voctogui/voctogui.py | 6 |
1 files changed, 5 insertions, 1 deletions
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() |