diff options
author | Roberto Hueso Gomez <robertohueso96@gmail.com> | 2020-04-08 13:31:45 +0200 |
---|---|---|
committer | Roberto Hueso Gomez <robertohueso96@gmail.com> | 2020-04-08 13:31:45 +0200 |
commit | 4f03c31f85b6431f5be70f28b08665560f76d654 (patch) | |
tree | 42afcd3efe20d5329179532e4b8d87f0bdabf3e0 /main.py | |
parent | 99ae598fbd9addc92b4150e7fcc668d8f0269c18 (diff) |
Add mode selection for ogClient
Diffstat (limited to 'main.py')
-rwxr-xr-x | main.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -24,10 +24,11 @@ def main(): ip = ogconfig.get_value_section('opengnsys', 'ip') port = ogconfig.get_value_section('opengnsys', 'port') url = ogconfig.get_value_section('opengnsys', 'url') + mode = ogconfig.get_value_section('opengnsys', 'mode') proc = subprocess.Popen(["browser", "-qws", url]) - client = ogClient(ip, int(port)) + client = ogClient(ip, int(port), mode) client.connect() client.run() |