From 01f7e09ce8fb47de0b814283188514021ef37d65 Mon Sep 17 00:00:00 2001 From: yakamok <38737288+yakamok@users.noreply.github.com> Date: Tue, 3 Jul 2018 01:48:56 +0200 Subject: [PATCH] Update send-view.py --- send-view.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/send-view.py b/send-view.py index 87c80f1..af95e1b 100644 --- a/send-view.py +++ b/send-view.py @@ -8,11 +8,12 @@ SERVER = "y.yakamo.org" #gives the option to get data from an external server instead and send that #if no options given it will default to localhost instead -if len(sys.argv) == 3: - host_port = (sys.argv[1], sys.argv[2]) -else: - host_port = ('localhost', 9001) +#if len(sys.argv) == 3: +# host_port = (sys.argv[1], sys.argv[2]) +#else: +# host_port = ('localhost', 9001) +host_port = ('localhost', 9001) def send_view_to_server(tosend): if tosend: attempts = 3