mirror of
https://github.com/RicterZ/nhentai.git
synced 2025-04-19 18:31:24 +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:
|
||||
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:
|
||||
logger.warning('No favorites found')
|
||||
return []
|
||||
|
Loading…
x
Reference in New Issue
Block a user