This commit is contained in:
dylan 2023-04-10 22:26:45 +08:00
parent a0e90314e0
commit 1c7fcb1c8f
1 changed files with 2 additions and 0 deletions

View File

@ -310,6 +310,8 @@ def sunbw(N, opts=None):
imgurl = random.choice(imgdata["imgComments"]["imgList"])["imageUrl"]
if ('imgdata2' in dir()):
imgurl2 = random.choice(imgdata2["imgComments"]["imgList"])["imageUrl"]
else:
imgurl2 = ''
except Exception:
imgurl = ''
imgurl2 = ''