mirror of
https://github.com/simon987/od-database.git
synced 2025-12-11 14:08:51 +00:00
Fixed file duplication problem
This commit is contained in:
@@ -146,8 +146,8 @@ class RemoteDirectoryCrawler:
|
||||
try:
|
||||
path = os.path.join(file.path, file.name, "")
|
||||
if path not in self.crawled_paths:
|
||||
listing = directory.list_dir(path)
|
||||
self.crawled_paths.add(path)
|
||||
listing = directory.list_dir(path)
|
||||
|
||||
for f in listing:
|
||||
if f.is_dir:
|
||||
|
||||
Reference in New Issue
Block a user