From 7000123a8b5549ac67ef4fa4d23039f2eea58330 Mon Sep 17 00:00:00 2001 From: ed Date: Mon, 15 Aug 2022 20:25:31 +0200 Subject: [PATCH] v1.3.14 --- copyparty/__main__.py | 2 +- copyparty/__version__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/copyparty/__main__.py b/copyparty/__main__.py index 420be3ac..30662e1a 100644 --- a/copyparty/__main__.py +++ b/copyparty/__main__.py @@ -335,7 +335,7 @@ def run_argparse(argv: list[str], formatter: Any, retry: bool) -> argparse.Names except: fk_salt = "hunter2" - cores = os.cpu_count() if hasattr(os, "cpu_count") else 4 + cores = (os.cpu_count() if hasattr(os, "cpu_count") else 0) or 4 hcores = min(cores, 3) # 4% faster than 4+ on py3.9 @ r5-4500U sects = [ diff --git a/copyparty/__version__.py b/copyparty/__version__.py index ed707384..025850b6 100644 --- a/copyparty/__version__.py +++ b/copyparty/__version__.py @@ -1,6 +1,6 @@ # coding: utf-8 -VERSION = (1, 3, 13) +VERSION = (1, 3, 14) CODENAME = "god dag" BUILD_DT = (2022, 8, 15)