1
0
mirror of https://github.com/r4sas/Niflheim-api synced 2025-01-12 16:08:02 +00:00

Update send-view.py

This commit is contained in:
yakamok 2018-07-03 01:43:35 +02:00 committed by GitHub
parent 367245fd91
commit 32976b2638
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@ 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) == 4:
if len(sys.argv) == 3:
host_port = (sys.argv[1], sys.argv[2])
else:
host_port = ('localhost', 9001)