Display tor_data_directory as debug log

This commit is contained in:
Micah Lee 2018-11-25 16:26:54 -08:00
parent d8b873a208
commit 845d7f8564
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

@ -170,6 +170,7 @@ class Onion(object):
group_container_dir = os.path.expanduser('~/Library/Group Containers/com.micahflee.onionshare')
os.makedirs(group_container_dir, exist_ok=True)
self.tor_data_directory = tempfile.TemporaryDirectory(dir=group_container_dir)
self.common.log('Onion', 'connect', 'tor_data_directory={}'.format(self.tor_data_directory))
else:
self.tor_data_directory = tempfile.TemporaryDirectory()