mirror of
				https://github.com/RicterZ/nhentai.git
				synced 2025-11-04 02:50:55 +01:00 
			
		
		
		
	Fix db ignored
This commit is contained in:
		@@ -58,9 +58,9 @@ def main():
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        if options.is_save_download_history:
 | 
					        if options.is_save_download_history:
 | 
				
			||||||
            with DB() as db:
 | 
					            with DB() as db:
 | 
				
			||||||
                data = set(db.get_all())
 | 
					                data = map(int, db.get_all())
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            doujinshi_ids = list(set(doujinshi_ids) - data)
 | 
					            doujinshi_ids = list(set(doujinshi_ids) - set(data))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if doujinshi_ids:
 | 
					    if doujinshi_ids:
 | 
				
			||||||
        for i, id_ in enumerate(doujinshi_ids):
 | 
					        for i, id_ in enumerate(doujinshi_ids):
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user