mirror of
				https://github.com/RicterZ/nhentai.git
				synced 2025-11-04 02:50:55 +01:00 
			
		
		
		
	fix bug #34
This commit is contained in:
		@@ -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 []
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user