test for none proxy env
This commit is contained in:
		@@ -81,7 +81,9 @@ for key in providers:
 | 
				
			|||||||
        country = None
 | 
					        country = None
 | 
				
			||||||
        pos = len(country_groups) - 1
 | 
					        pos = len(country_groups) - 1
 | 
				
			||||||
        if pos >= 0:
 | 
					        if pos >= 0:
 | 
				
			||||||
            country = country_groups[pos].strip("_")
 | 
					            country_temp = country_groups[pos]
 | 
				
			||||||
 | 
					            if isinstance(country_temp, str):
 | 
				
			||||||
 | 
					                country = country_temp.strip("_")
 | 
				
			||||||
                current_keys.add(f'{key}_{country}')
 | 
					                current_keys.add(f'{key}_{country}')
 | 
				
			||||||
        proxy = os.environ.get(match)
 | 
					        proxy = os.environ.get(match)
 | 
				
			||||||
        if proxy is not None:
 | 
					        if proxy is not None:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user