Album has_pic fix, production gems fix
This commit is contained in:
@@ -121,6 +121,7 @@ class ImportController < ApplicationController
|
||||
album.mbid = mb_album['id']
|
||||
album.album_type = mb_album['type']
|
||||
album.pic_url = album_image
|
||||
album.has_pic = (album_image != '' and not album_image.nil?)
|
||||
album.save unless dry_run
|
||||
ap album if dry_run
|
||||
|
||||
|
||||
Reference in New Issue
Block a user