mirror of
https://github.com/rembo10/headphones.git
synced 2026-05-15 16:19:28 +01:00
Fixed possible bug with displaying duration in album page
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user