Update correct image
This commit is contained in:
parent
aaea8b2961
commit
417bdacde8
|
@ -3,8 +3,9 @@
|
|||
function guess_image() {
|
||||
local image="${1}"
|
||||
|
||||
image="${image# }"
|
||||
image="${image% }"
|
||||
image="${image// /}"
|
||||
image="${image#\/}"
|
||||
image="${image%\/}"
|
||||
|
||||
if [[ -z "${image}" ]]; then
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue