summaryrefslogtreecommitdiff
path: root/tidal_dl_ng/helper/path.py
diff options
context:
space:
mode:
Diffstat (limited to 'tidal_dl_ng/helper/path.py')
-rw-r--r--tidal_dl_ng/helper/path.py8
1 files changed, 4 insertions, 4 deletions
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