From 0e18d6d2bf78cef95daebbe185a87c2b7794d100 Mon Sep 17 00:00:00 2001 From: tcely Date: Thu, 19 Dec 2024 16:46:11 -0500 Subject: [PATCH] Don't return suffixes This isn't useful. The caller can create a `Path` to get this instead. --- tubesync/sync/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tubesync/sync/utils.py b/tubesync/sync/utils.py index ae81cc69..9d4ca4b4 100644 --- a/tubesync/sync/utils.py +++ b/tubesync/sync/utils.py @@ -118,7 +118,7 @@ def directory_and_stem(arg_path): while stem.suffixes and '' != stem.suffix: stem = Path(stem.stem) stem = str(stem) - return (filepath.parent, stem, filepath.suffixes,) + return (filepath.parent, stem,) def mkdir_p(arg_path, mode=0o777):