Missing import

This commit is contained in:
Micah Lee 2020-11-01 11:04:33 -08:00
parent 74edae02a4
commit 790fe245e3
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

@ -20,6 +20,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
import os
import inspect
import shutil
from . import strings
from onionshare_cli.onion import Onion
@ -328,7 +329,7 @@ class GuiCommon:
font-style: italic;
}""",
}
def get_tor_paths(self):
if self.common.platform == "Linux":
tor_path = shutil.which("tor")