mirror of
https://github.com/rembo10/headphones.git
synced 2026-05-22 19:37:45 +01:00
Fix small UI bug (some artists showed that you have "null" tracks instead of 0)
This commit is contained in:
@@ -488,6 +488,8 @@ class WebInterface(object):
|
||||
"AlbumID":"",
|
||||
}
|
||||
|
||||
if not row['HaveTracks']:
|
||||
row['HaveTracks'] = 0
|
||||
if artist['ReleaseDate'] and artist['LatestAlbum']:
|
||||
row['ReleaseDate'] = artist['ReleaseDate']
|
||||
row['LatestAlbum'] = artist['LatestAlbum']
|
||||
|
||||
Reference in New Issue
Block a user