mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-09 09:55:00 -04:00
Remove psutil dependency, and start using a lock file instead
This commit is contained in:
parent
8955b2b6c6
commit
d2517681af
4 changed files with 15 additions and 52 deletions
|
@ -46,7 +46,10 @@ class GuiCommon:
|
|||
# Start the Onion
|
||||
self.onion = Onion(common)
|
||||
|
||||
# Directory to watch for events
|
||||
# Lock filename
|
||||
self.lock_filename = os.path.join(self.common.build_data_dir(), "lock")
|
||||
|
||||
# Events filenames
|
||||
self.events_dir = os.path.join(self.common.build_data_dir(), "events")
|
||||
if not os.path.exists(self.events_dir):
|
||||
os.makedirs(self.events_dir, 0o700, True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue