mirror of
https://github.com/rembo10/headphones.git
synced 2026-05-19 18:15:31 +01:00
Fetch the artist info again during retries when loading artist page
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user