mirror of
https://github.com/r4sas/Niflheim-api
synced 2025-01-26 14:44:18 +00:00
Update send-view.py
This commit is contained in:
parent
367245fd91
commit
32976b2638
@ -8,7 +8,7 @@ SERVER = "y.yakamo.org"
|
|||||||
|
|
||||||
#gives the option to get data from an external server instead and send that
|
#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 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])
|
host_port = (sys.argv[1], sys.argv[2])
|
||||||
else:
|
else:
|
||||||
host_port = ('localhost', 9001)
|
host_port = ('localhost', 9001)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user