summaryrefslogtreecommitdiff
path: root/voctogui/voctogui.py
diff options
context:
space:
mode:
authorMaZderMind <git@mazdermind.de>2016-09-01 14:27:04 +0200
committerMaZderMind <git@mazdermind.de>2016-09-01 14:30:25 +0200
commit465900988aafd32e4a3df9cea0397122f6b1b31f (patch)
treefcd39b80cd7a6372495aac6537bc0685385ef01d /voctogui/voctogui.py
parent59e7cedd2d7f70869e1db08166166ef34dd8df1c (diff)
Allow setting Voctogui-Host per Commandline, fixes #88
Diffstat (limited to 'voctogui/voctogui.py')
-rwxr-xr-xvoctogui/voctogui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/voctogui/voctogui.py b/voctogui/voctogui.py
index 6611480..9ae3af5 100755
--- a/voctogui/voctogui.py
+++ b/voctogui/voctogui.py
@@ -109,7 +109,7 @@ def main():
# establish a synchronus connection to server
Connection.establish(
- Config.get('server', 'host'))
+ Args.host if Args.host else Config.get('server', 'host'))
# fetch config from server
Config.fetchServerConfig()