Skip to content

Commit

Permalink
Fix #1367
Browse files Browse the repository at this point in the history
  • Loading branch information
shelld3v committed Aug 2, 2024
1 parent 59bc9ce commit 744285a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/controller/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -571,9 +571,7 @@ def add_directory(self, path):
"""Add directory to the recursion queue"""

# Pass if path is in exclusive directories
if any(
"/" + dir in path for dir in options["exclude_subdirs"]
):
if any(dir in path for dir in options["exclude_subdirs"]):
return

url = self.url + path
Expand Down

0 comments on commit 744285a

Please sign in to comment.