Skip to content

Commit b0a36d5

Browse files
Fix scandir return statement
1 parent 12d922a commit b0a36d5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CLUE_Light_Painter/ubmp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def scandir(self, path):
132132
try:
133133
full_list = listdir(path)
134134
except OSError:
135-
return
135+
return valid_list
136136
for entry in full_list:
137137
try:
138138
with open(path + '/' + entry, "rb") as self.file:

0 commit comments

Comments
 (0)