mirror of
https://github.com/gryf/ebook-converter.git
synced 2026-03-11 03:55:45 +01:00
Removed check for python version
This commit is contained in:
@@ -9,7 +9,7 @@ import time
|
||||
from functools import partial
|
||||
|
||||
from ebook_converter.constants import (
|
||||
__appname__, fcntl, filesystem_encoding, islinux, isosx, iswindows, plugins, ispy3
|
||||
__appname__, fcntl, filesystem_encoding, islinux, isosx, iswindows, plugins
|
||||
)
|
||||
from ebook_converter.utils.monotonic import monotonic
|
||||
|
||||
@@ -156,8 +156,6 @@ elif islinux:
|
||||
)
|
||||
name = name
|
||||
address = '\0' + name.replace(' ', '_')
|
||||
if not ispy3:
|
||||
address = address.encode('utf-8')
|
||||
sock = socket.socket(family=socket.AF_UNIX)
|
||||
try:
|
||||
eintr_retry_call(sock.bind, address)
|
||||
|
||||
Reference in New Issue
Block a user