generated from itdominator/Python-With-Gtk-Template
Fixed settings issue
This commit is contained in:
parent
32caa36fa9
commit
877f70adac
@ -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)
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user