15 lines
264 B
Python
15 lines
264 B
Python
import json
|
|
|
|
|
|
def attach(host, port, datafile):
|
|
|
|
response = {
|
|
'results': {
|
|
'client1': {
|
|
'onionAddress': 'crazytime'
|
|
}
|
|
}
|
|
}
|
|
|
|
with open(datafile, 'w') as outfile:
|
|
json.dump(response, outfile) |