Fetch the artist info again during retries when loading artist page

This commit is contained in:
rembo10
2012-08-20 16:58:02 +05:30
parent 3f1ddd6489
commit 452b83e197

View File

@@ -69,6 +69,7 @@ class WebInterface(object):
while retry < 5:
if not artist:
time.sleep(1)
artist = myDB.action('SELECT * FROM artists WHERE ArtistID=?', [ArtistID]).fetchone()
retry += 1
else:
break