1
0
mirror of https://github.com/r4sas/Niflheim-api synced 2025-03-13 05:51:45 +00:00

Update send-view.py

This commit is contained in:
yakamok 2018-07-03 00:39:26 +02:00 committed by GitHub
parent 533b6ee20b
commit 07a4b5c125
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,7 @@ SERVER = "y.yakamo.org"
#if no options given it will default to localhost instead
if len(sys.argv) == 4:
host_port = (sys.argv[1], sys.argv[2])
elif len(sys.argv) == 1:
else:
host_port = ('localhost', 9001)
def send_view_to_server(tosend):