Fixed possible bug with displaying duration in album page

This commit is contained in:
Remy
2011-07-27 15:08:02 -07:00
parent 58859ae2a6
commit 080871eda7

View File

@@ -156,7 +156,7 @@ class WebInterface(object):
else:
have = ''
if results[i][4]:
duration = helpers.convert_milliseconds(results[i][4])
duration = helpers.convert_milliseconds(int(results[i][4]))
else:
duration = 'n/a'
page.append('''<tr><td align="left" width="120">%s</td>