Skip to content

Commit 84b163c

Browse files
small change
1 parent b7b456e commit 84b163c

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed
-11 Bytes
Binary file not shown.

gallery/loadFiles.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ def __init__(self, path_to_scan = None):
1010
self.path_to_scan = path_to_scan if path_to_scan else self.PATH
1111

1212
def scanDirFunc(self):
13-
files = os.listdir(self.path_to_scan)
14-
return files
13+
return os.listdir(self.path_to_scan)
1514

1615
def getFirstFile(self, files, first_file = True, search = None):
1716
files_content = []

0 commit comments

Comments
 (0)