summaryrefslogtreecommitdiffstats
path: root/main.py
diff options
context:
space:
mode:
authorJavier Sánchez Parra <jsanchez@soleta.eu>2020-04-16 10:33:35 +0200
committerJavier Sánchez Parra <jsanchez@soleta.eu>2020-04-16 13:29:06 +0200
commitf0c550ee2a8bed2238a1fe9fdf83ce1f7b229377 (patch)
tree44bad18cce9096ed26f2eecf639f673b9702389e /main.py
parenta32bf4071e3364a4c92cbda270c65415ce1bfc1a (diff)
Change browser behaviour
We have observed that the browser did not show changes. This happens because the ogClient opens the browser at the beginning and forget about it. To show correctly the changes ogClient had to restart the browser every time the menu html changes. This commit changes the behaviour to restart the browser when the menu html has changed.
Diffstat (limited to 'main.py')
-rwxr-xr-xmain.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/main.py b/main.py
index 3df7f10..a67362d 100755
--- a/main.py
+++ b/main.py
@@ -26,9 +26,6 @@ def main():
url = ogconfig.get_value_section('opengnsys', 'url')
mode = ogconfig.get_value_section('opengnsys', 'mode')
- if mode == 'linux':
- proc = subprocess.Popen(["browser", "-qws", url])
-
client = ogClient(ip, int(port), mode)
client.connect()
client.run()