summaryrefslogtreecommitdiffstats
path: root/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'main.py')
-rwxr-xr-xmain.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.py b/main.py
index 28278ab..aa58ca0 100755
--- a/main.py
+++ b/main.py
@@ -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()