summaryrefslogtreecommitdiff
path: root/tidal_dl_ng/helper/path.py
diff options
context:
space:
mode:
authorRobert Honz <exislow+github@gmail.com>2024-01-12 10:51:30 +0100
committerRobert Honz <exislow+github@gmail.com>2024-01-12 10:51:30 +0100
commit3fddfe18a61ddfe9d2c1b6fd2fd82f2f3fe2fd28 (patch)
tree5f2674985c877d6752d64ee12bbd55c78679ea37 /tidal_dl_ng/helper/path.py
parent819621324753265fcc8ac274a306978227b41813 (diff)
downloadtidal-dl-ng-3fddfe18a61ddfe9d2c1b6fd2fd82f2f3fe2fd28.tar.gz
🛠️ Black reformatting.
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