1
0
mirror of https://github.com/gryf/ebook-converter.git synced 2026-01-21 12:34:10 +01:00

Removed unused function for counting CPU cores

This commit is contained in:
2020-06-14 12:43:15 +02:00
parent ebb2e810eb
commit b23a59f223

View File

@@ -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