aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaZderMind <git@mazdermind.de>2015-09-27 16:35:33 +0200
committerMaZderMind <git@mazdermind.de>2015-09-27 16:35:33 +0200
commit24cd2c385d5177e194b2e3f2d18eeb1b2a28291f (patch)
treeb7fb8cb07a2283f5f41efaa744f9307c0de581bb
parentb30ba5aff5f1d0bce7ab47c1818a5b07f1aba3d7 (diff)
better comments
-rwxr-xr-xvoctogui/voctogui.py6
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()