funkcja wykrywania złego nicka
This commit is contained in:
		
							
								
								
									
										3
									
								
								app.py
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								app.py
									
									
									
									
									
								
							@@ -518,7 +518,7 @@ def main():
 | 
			
		||||
        if user['temp_email']:
 | 
			
		||||
            temp_email_count += 1
 | 
			
		||||
 | 
			
		||||
        if args.validate or user['inactive'] or not user['email_valid'] or user.get('bad_name'):
 | 
			
		||||
        if args.validate or user['inactive'] or not user['email_valid']:
 | 
			
		||||
            final_candidates.append(user)
 | 
			
		||||
 | 
			
		||||
    final_candidates = [u for u in final_candidates if (u.get('points') or 0) == 0]
 | 
			
		||||
@@ -571,7 +571,6 @@ def main():
 | 
			
		||||
    print(f"- Pominięci weterani: {skipped_veterans}")
 | 
			
		||||
    print(f"- Z losowym lub podejrzanym nickiem: {bad_name_count}")
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    if args.delete:
 | 
			
		||||
        confirm_delete()
 | 
			
		||||
        if not args.drupal_path:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user