Fixed settings issue

This commit is contained in:
itdominator 2023-10-18 21:42:26 -05:00
parent 32caa36fa9
commit 877f70adac
2 changed files with 2 additions and 6 deletions

View File

@ -41,7 +41,7 @@ class IPCServer:
def create_ipc_listener(self) -> None: def create_ipc_listener(self) -> None:
if self._conn_type == "socket": if self._conn_type == "socket":
if os.path.exists(self._ipc_address) and settings.is_dirty_start(): if os.path.exists(self._ipc_address) and settings_manager.is_dirty_start():
os.unlink(self._ipc_address) os.unlink(self._ipc_address)
listener = Listener(address = self._ipc_address, family = "AF_UNIX", authkey = self._ipc_authkey) listener = Listener(address = self._ipc_address, family = "AF_UNIX", authkey = self._ipc_authkey)

View File

@ -1,10 +1,6 @@
# Python imports # Python imports
import signal
import io
import json
import inspect import inspect
import zipfile import json
from os import path from os import path
from os import mkdir from os import mkdir