diff options
author | MaZderMind <github@mazdermind.de> | 2016-01-27 12:25:53 +0100 |
---|---|---|
committer | MaZderMind <git@mazdermind.de> | 2016-02-02 16:05:56 +0100 |
commit | aa2e12b92df3400e6f9cb89afc16eb968b0c2491 (patch) | |
tree | ed05ec86ce2d2e85a708ec1514341122f8069d1f /voctogui/voctogui.py | |
parent | 5e301fd1a88acf698f1918ddf8ea5981d12ac811 (diff) |
use the server-net-clock in the gui
Diffstat (limited to 'voctogui/voctogui.py')
-rwxr-xr-x | voctogui/voctogui.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/voctogui/voctogui.py b/voctogui/voctogui.py index 0853898..d6bf5b6 100755 --- a/voctogui/voctogui.py +++ b/voctogui/voctogui.py @@ -32,6 +32,7 @@ from lib.ui import Ui from lib.loghandler import LogHandler import lib.connection as Connection +import lib.clock as ClockManager # main class class Voctogui(object): @@ -125,6 +126,9 @@ def main(): Config.get('server', 'host') ) + # obtain network-clock + ClockManager.obtainClock(Connection.ip) + # switch connection to nonblocking, event-driven mode Connection.enterNonblockingMode() |