Onionr/onionr/utils/gettransports.py

7 lines
197 B
Python
Raw Normal View History

2019-07-18 17:40:48 +00:00
import filepaths
files = [filepaths.tor_hs_address_file]
transports = []
for file in files:
with open(file, 'r') as transport_file:
transports.append(transport_file.read())