diff --git a/src/caosadvancedtools/crawler.py b/src/caosadvancedtools/crawler.py index 05471e94a05689bf3a63c4925a9394e116bebe0b..33a732e89b179b9580b914e4c640baec3d307ce8 100644 --- a/src/caosadvancedtools/crawler.py +++ b/src/caosadvancedtools/crawler.py @@ -700,8 +700,8 @@ class FileCrawler(Crawler): @staticmethod def query_files(path): - query_str = "FIND FILE WHICH IS STORED AT " + ( - path if path.endswith("/") else path + "/") + "**" + query_str = "FIND FILE WHICH IS STORED AT '" + ( + path if path.endswith("/") else path + "/") + "**'" q_info = "Sending the following query: '" + query_str + "'\n" files = db.execute_query(query_str) logger.info(