mirror of
https://github.com/RicterZ/nhentai.git
synced 2025-04-20 02:41:19 +02:00
fix bug #34
This commit is contained in:
parent
d412794bce
commit
db6d45efe0
@ -50,7 +50,7 @@ def login_parser(username, password):
|
|||||||
if not count:
|
if not count:
|
||||||
logger.error("Can't get your number of favorited doujins. Did the login failed?")
|
logger.error("Can't get your number of favorited doujins. Did the login failed?")
|
||||||
|
|
||||||
count = int(count.text.strip('(').strip(')'))
|
count = int(count.text.strip('(').strip(')').replace(',', ''))
|
||||||
if count == 0:
|
if count == 0:
|
||||||
logger.warning('No favorites found')
|
logger.warning('No favorites found')
|
||||||
return []
|
return []
|
||||||
|
Loading…
x
Reference in New Issue
Block a user