Skip to content

Commit 6986e65

Browse files
committed
disabled per path logging
1 parent cd223ee commit 6986e65

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: image_in_window_screensaver/file_walker.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ def walk(mode=None) -> List:
2929
else:
3030
l.log("path does not exist")
3131
exit()
32+
# l.disable()
3233
for folderName, subfolders, filenames in os.walk(path):
3334
for filename in filenames:
3435
if (filename.endswith('jpg') or
@@ -37,10 +38,11 @@ def walk(mode=None) -> List:
3738
filename.endswith('.jpeg')):
3839
file_path = os.path.join(folderName, filename)
3940

40-
l.log([file_path, filename])
41+
# l.log([file_path, filename])
4142
if ignore and is_exclude_image(file_path, ignore):
4243
continue
4344
image_paths.append(file_path)
45+
4446
return image_paths
4547

4648

0 commit comments

Comments
 (0)