diff --git a/headphones/webserve.py b/headphones/webserve.py
index cf083568..686ff6b5 100644
--- a/headphones/webserve.py
+++ b/headphones/webserve.py
@@ -102,7 +102,8 @@ class WebInterface(object):
page.append('''
%s
''' % 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']