mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-26 06:56:36 +00:00
Change the default to not loop
This commit is contained in:
parent
fc3a68393d
commit
5c2dfca00f
@ -130,7 +130,7 @@ def file_is_editable(filepath):
|
||||
return False
|
||||
|
||||
|
||||
def directory_and_stem(arg_path, /, *, only_once=False):
|
||||
def directory_and_stem(arg_path, /, *, only_once=True):
|
||||
filepath = Path(arg_path)
|
||||
stem = Path(filepath.stem)
|
||||
while not only_once and stem.suffixes and '' != stem.suffix:
|
||||
|
Loading…
Reference in New Issue
Block a user