diff --git a/ebook_converter/__init__.py b/ebook_converter/__init__.py index 53e8dd8..417ee9c 100644 --- a/ebook_converter/__init__.py +++ b/ebook_converter/__init__.py @@ -309,16 +309,6 @@ class CurrentDir(object): pass -_ncpus = None - - -def detect_ncpus(): - global _ncpus - if _ncpus is None: - _ncpus = max(1, os.cpu_count() or 1) - return _ncpus - - relpath = os.path.relpath