Commit 71203716 authored by aknecht2's avatar aknecht2
Browse files

Added '.' as a path separator for crawling.

parent ad52d178
...@@ -973,7 +973,7 @@ class ImageLoader: ...@@ -973,7 +973,7 @@ class ImageLoader:
d[key]["depth"] = [n for n,x in enumerate(sp) if key in x][0] d[key]["depth"] = [n for n,x in enumerate(sp) if key in x][0]
d[key]["split"] = [] d[key]["split"] = []
val = sp[d[key]["depth"]] val = sp[d[key]["depth"]]
for operator in [" ", "_", "-"]: for operator in [" ", "_", "-", "."]:
if operator in val: if operator in val:
b = val.split(operator) b = val.split(operator)
x = [n for n,x in enumerate(b) if key in x][0] x = [n for n,x in enumerate(b) if key in x][0]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment