Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
aknecht2
Image Harvest
Commits
71203716
Commit
71203716
authored
Dec 11, 2015
by
aknecht2
Browse files
Added '.' as a path separator for crawling.
parent
ad52d178
Changes
1
Hide whitespace changes
Inline
Side-by-side
ih/workflow.py
View file @
71203716
...
...
@@ -973,7 +973,7 @@ class ImageLoader:
d
[
key
][
"depth"
]
=
[
n
for
n
,
x
in
enumerate
(
sp
)
if
key
in
x
][
0
]
d
[
key
][
"split"
]
=
[]
val
=
sp
[
d
[
key
][
"depth"
]]
for
operator
in
[
" "
,
"_"
,
"-"
]:
for
operator
in
[
" "
,
"_"
,
"-"
,
"."
]:
if
operator
in
val
:
b
=
val
.
split
(
operator
)
x
=
[
n
for
n
,
x
in
enumerate
(
b
)
if
key
in
x
][
0
]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment