mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Merge branch 'fix/pre_activated-ctypes' of https://github.com/bikesheddev/calibre
This commit is contained in:
commit
a8c874b398
@ -35,7 +35,8 @@ if islinux:
|
||||
return addr.nl_family
|
||||
|
||||
try:
|
||||
systemd = ctypes.CDLL(ctypes.util.find_library('systemd'))
|
||||
from ctypes.util import find_library
|
||||
systemd = ctypes.CDLL(find_library('systemd'))
|
||||
systemd.sd_listen_fds
|
||||
except Exception:
|
||||
pass
|
||||
|
Loading…
x
Reference in New Issue
Block a user