1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-04 10:19:30 +02:00

New devices-db doesn't have a image property.

This commit is contained in:
Gunther Brunner 2014-06-17 23:44:16 +09:00
parent e2c65a83fc
commit 2b7fa4479f

View file

@ -38,7 +38,7 @@ datautil.applyData = function(device) {
if (match) {
device.name = match.name.id
device.releasedAt = match.date
device.image = match.image.s.replace(/^small\//, '')
device.image = model + '.jpg'
}
else {
log.warn(