fix bug with images name with underscopes

This commit is contained in:
Alexander Popov 2016-10-28 01:15:49 +03:00
parent bce6731494
commit 928a27f104
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ while STOP == False:
images = soup.findAll('img', src=re.compile('img/*'))
for image in images:
if int(image['src'].split('/')[1].split('.')[0]) == int(LATEST_FILE):
if image['src'].split('/')[1].split('.')[0] == LATEST_FILE:
STOP = True
if PAGE == 0: