mirror of
https://github.com/rembo10/headphones.git
synced 2026-05-19 10:05:30 +01:00
Small fix for artists with no albums
This commit is contained in:
@@ -102,7 +102,8 @@ class WebInterface(object):
|
||||
page.append('''<div class="table"><table><p align="center">%s</p>
|
||||
''' % artist[0][0])
|
||||
|
||||
page.append(templates.displayAlbums(ArtistID, 'Album'))
|
||||
if templates.displayAlbums(ArtistID, 'Album'):
|
||||
page.append(templates.displayAlbums(ArtistID, 'Album'))
|
||||
|
||||
releasetypes = ['Compilation', 'EP', 'Single', 'Live', 'Remix']
|
||||
|
||||
|
||||
Reference in New Issue
Block a user