We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 26de724 commit c4b222eCopy full SHA for c4b222e
folder_organizer.py
@@ -59,7 +59,7 @@ def check_extension(file):
59
last_path, extensions, exclude = get_data()
60
61
path = get_path(last_path)
62
- if path != tuple():
+ if path != tuple() and path != '':
63
for file in os.scandir(path):
64
if file.is_file() and file.name not in exclude:
65
type_ = check_extension(file)
0 commit comments