diff --git a/crawler/src/main/java/org/open4goods/crawler/services/fetching/CsvDatasourceFetchingService.java b/crawler/src/main/java/org/open4goods/crawler/services/fetching/CsvDatasourceFetchingService.java index 19e088271..e28f81762 100644 --- a/crawler/src/main/java/org/open4goods/crawler/services/fetching/CsvDatasourceFetchingService.java +++ b/crawler/src/main/java/org/open4goods/crawler/services/fetching/CsvDatasourceFetchingService.java @@ -266,7 +266,7 @@ public void run() { .collect(Collectors.toSet()); } - if (null != config.getDatasourceUrls() || config.getDatasourceUrls().size() == 0) { + if (null != config.getDatasourceUrls() && config.getDatasourceUrls().size() > 0) { // Classical full datafeed config urls = config.getDatasourceUrls(); }