Skip to content

Commit

Permalink
bug with moved files
Browse files Browse the repository at this point in the history
  • Loading branch information
Uzay-G committed Mar 9, 2022
1 parent b72a35e commit 2caee6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions espial/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ def __init__(self):
self.port = 5002 # port to run Espial on
self.host = "127.0.0.1"
self.IGNORE = [] # sub-directories to ignore when crawling
self.ALLOWED_ORIGINS = [] # websites allowed to fetch data from Espial

def get_item_id(self, item):
"""
Expand Down
1 change: 1 addition & 0 deletions espial/load.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ def load_mesh(config):
doc._.id in items
and doc._.hash == items[doc._.id]["hash"]
and not excluded_path
and Path(doc._.path).exists()
):
docs.append(doc)
else:
Expand Down

0 comments on commit 2caee6b

Please sign in to comment.