♻️ Ruff reformatting.

This commit is contained in:
Robert Honz
2024-01-12 08:15:54 +01:00
parent 1f89ce4279
commit a99c42ad02
4 changed files with 52 additions and 51 deletions
+3 -3
View File
@@ -6,7 +6,7 @@ from collections.abc import Callable
from pathlib import Path
from pathvalidate import sanitize_filename
from tidalapi import Album, Playlist, Track, UserPlaylist, Video, Mix
from tidalapi import Album, Mix, Playlist, Track, UserPlaylist, Video
def path_base():
@@ -128,7 +128,7 @@ def length_max_name_file() -> int:
try:
if system in ['Darwin', 'Linux']:
result: int = os.pathconf('/', 'PC_NAME_MAX')
except Exception as e:
except Exception:
pass
return result
@@ -141,7 +141,7 @@ def length_max_name_path() -> int:
try:
if system in ['Darwin', 'Linux']:
result: int = os.pathconf('/', 'PC_PATH_MAX')
except Exception as e:
except Exception:
pass
return result