Commit 5c69e392 authored by Tobias's avatar Tobias

fix crash when urlPath is nil

parent 62353be6
......@@ -171,7 +171,9 @@
} else {
keyPath = keyValue;
}
urlPath = [baseURL URLByAppendingPathComponent:keyPath].absoluteString;
if (keyPath) {
urlPath = [baseURL URLByAppendingPathComponent:keyPath].absoluteString;
}
} else {
urlPath = dictionary[@"keyMedia"];
}
......
Markdown is supported
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