Skip to content
Snippets Groups Projects
Commit 529838a1 authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

FIX: put path in query in quotes

parent 1a2e033b
No related branches found
No related tags found
1 merge request!22Release 0.3
Pipeline #10466 passed
......@@ -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(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment