(20241128) Comments removed.

This commit is contained in:
2024-11-28 13:04:45 +05:30
parent 27a621dbec
commit 6ca90bb25d
-3
View File
@@ -122,9 +122,6 @@ def get_parent_directory(path: str, depth: int = 1) -> str:
for _ in range(depth): path = os.path.split(path)[0]
return path or "/"
# if depth <= 0: return path
# else: return get_parent_directory(pathlib.Path(path).parent.absolute(), depth - 1)
# ---------------------------------------------------------------------------------------------------------------------