diff options
-rwxr-xr-x | main.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -26,7 +26,8 @@ def main(): url = ogconfig.get_value_section('opengnsys', 'url') mode = ogconfig.get_value_section('opengnsys', 'mode') - proc = subprocess.Popen(["browser", "-qws", url]) + if mode == 'linux': + proc = subprocess.Popen(["browser", "-qws", url]) client = ogClient(ip, int(port), mode) client.connect() |