This commit is contained in:
parent
a0e90314e0
commit
1c7fcb1c8f
|
@ -310,6 +310,8 @@ def sunbw(N, opts=None):
|
||||||
imgurl = random.choice(imgdata["imgComments"]["imgList"])["imageUrl"]
|
imgurl = random.choice(imgdata["imgComments"]["imgList"])["imageUrl"]
|
||||||
if ('imgdata2' in dir()):
|
if ('imgdata2' in dir()):
|
||||||
imgurl2 = random.choice(imgdata2["imgComments"]["imgList"])["imageUrl"]
|
imgurl2 = random.choice(imgdata2["imgComments"]["imgList"])["imageUrl"]
|
||||||
|
else:
|
||||||
|
imgurl2 = ''
|
||||||
except Exception:
|
except Exception:
|
||||||
imgurl = ''
|
imgurl = ''
|
||||||
imgurl2 = ''
|
imgurl2 = ''
|
||||||
|
|
Loading…
Reference in New Issue