From 7061ac365456ccc0b84b554054005a452365a997 Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Wed, 17 Jan 2018 18:53:45 -0800 Subject: [PATCH] Temporary fix for #550 --- onionshare/onion.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/onionshare/onion.py b/onionshare/onion.py index 013a9177..bae90f4c 100644 --- a/onionshare/onion.py +++ b/onionshare/onion.py @@ -512,6 +512,10 @@ class Onion(object): except AttributeError: # Skip if cleanup was somehow run before connect pass + except PermissionError: + # Skip if the directory is still open (#550) + # TODO: find a better solution + pass def get_tor_socks_port(self): """