Merge pull request #1157 from tcely/patch-7

Handle when `source.last_crawl` is `None`
This commit is contained in:
meeb authored and GitHub committed 2025-06-30 17:57:12 +10:00
commit 74564479de
1 file changed
+1 -1
+1 -1
View File
@@ -275,7 +275,7 @@ def schedule_indexing():
skip_source = (
not source.is_active or
source.target_schedule >= next_hour or
source.last_crawl >= previous_run
(source.last_crawl and source.last_crawl >= previous_run)
)
if skip_source:
continue