diff options
author | Alvaro Neira Ayuso <aneira@soleta.eu> | 2020-04-12 19:11:52 +0200 |
---|---|---|
committer | Alvaro Neira Ayuso <aneira@soleta.eu> | 2020-04-12 20:27:48 +0200 |
commit | 058c2b54139f9daef81ba94661cbd320f415489d (patch) | |
tree | 0c82f84031b3bb748312bd4c015fc5adc5fb0b70 /main.py | |
parent | 7f646fc468c3a23dca06be03ab3c2b8d5fb2a5f2 (diff) |
Launch browser only in linux configuration
Diffstat (limited to 'main.py')
-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() |