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:
parent
533b6ee20b
commit
07a4b5c125
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user