Unverified Commit 975fb3fa authored by Sebastian Schüpbach's avatar Sebastian Schüpbach
Browse files

fix if statement

parent 69e5ecdf
Pipeline #21791 passed with stage
in 5 minutes and 14 seconds
......@@ -62,6 +62,7 @@ class CustomDelegate
filename = context['identifier']
if filename.start_with?("file:")
filename = filename.split("$").last
return "/home/cantaloupe/images/#{filename}"
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