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 os
import inspect import inspect
import shutil
from . import strings from . import strings
from onionshare_cli.onion import Onion from onionshare_cli.onion import Onion
@ -328,7 +329,7 @@ class GuiCommon:
font-style: italic; font-style: italic;
}""", }""",
} }
def get_tor_paths(self): def get_tor_paths(self):
if self.common.platform == "Linux": if self.common.platform == "Linux":
tor_path = shutil.which("tor") tor_path = shutil.which("tor")