From 3fddfe18a61ddfe9d2c1b6fd2fd82f2f3fe2fd28 Mon Sep 17 00:00:00 2001 From: Robert Honz Date: Fri, 12 Jan 2024 10:51:30 +0100 Subject: 🛠️ Black reformatting. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tidal_dl_ng/helper/path.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tidal_dl_ng/helper/path.py') diff --git a/tidal_dl_ng/helper/path.py b/tidal_dl_ng/helper/path.py index f354dec..31e9a88 100644 --- a/tidal_dl_ng/helper/path.py +++ b/tidal_dl_ng/helper/path.py @@ -126,8 +126,8 @@ def length_max_name_file() -> int: result: int = 255 try: - if system in ['Darwin', 'Linux']: - result: int = os.pathconf('/', 'PC_NAME_MAX') + if system in ["Darwin", "Linux"]: + result: int = os.pathconf("/", "PC_NAME_MAX") except Exception: pass @@ -139,8 +139,8 @@ def length_max_name_path() -> int: result: int = 255 try: - if system in ['Darwin', 'Linux']: - result: int = os.pathconf('/', 'PC_PATH_MAX') + if system in ["Darwin", "Linux"]: + result: int = os.pathconf("/", "PC_PATH_MAX") except Exception: pass -- cgit v1.3.1