mirror of
				https://github.com/disposable-email-domains/disposable-email-domains.git
				synced 2025-05-29 01:49:27 +08:00 
			
		
		
		
	fix filename
This commit is contained in:
		
							parent
							
								
									4f21e5c8a1
								
							
						
					
					
						commit
						fbc6e99ba2
					
				@ -9,7 +9,7 @@ from publicsuffixlist import PublicSuffixList
 | 
			
		||||
 | 
			
		||||
def main(arguments):
 | 
			
		||||
    psl = PublicSuffixList()
 | 
			
		||||
    with open("disposable_email_blacklist", "r") as deb:
 | 
			
		||||
    with open("disposable_email_blacklist.conf", "r") as deb:
 | 
			
		||||
        for line in deb:
 | 
			
		||||
            if psl.publicsuffix(line) != line:
 | 
			
		||||
                print(f'The following line is a public suffix: {line} - please remove it from the blacklist file. See https://publicsuffix.org for details.')
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user