add sending udp message on behalf of an non-supporting server
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import sys
|
||||
from streams import EventStream
|
||||
from nicoscache import NicosStream
|
||||
from secop import ScanStream, ScanReply
|
||||
from secop import ScanStream, ScanReply, send_fake_udp
|
||||
from influx import testdb
|
||||
|
||||
|
||||
@@ -20,4 +21,7 @@ def main():
|
||||
db.disconnect()
|
||||
|
||||
|
||||
main()
|
||||
if len(sys.argv) > 1:
|
||||
send_fake_udp(*sys.argv[1:])
|
||||
else:
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user