11 lines
244 B
Python
11 lines
244 B
Python
__all__ = ('tor_prefix',)
|
|
|
|
import os
|
|
|
|
if (address := os.getenv('v6tor', None)) is not None:
|
|
print('tor through torsocks')
|
|
tor_prefix = ['torsocks', '--address', address]
|
|
else:
|
|
print('tor through torify')
|
|
tor_prefix = ['torify']
|