mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	test for uninitialized system_version was flawed
This commit is contained in:
		
							parent
							
								
									270d7449fd
								
							
						
					
					
						commit
						e7fb41877a
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -228,8 +228,8 @@ def android(environ, start_response):
 | 
			
		|||
    else: 
 | 
			
		||||
        ip = environ['REMOTE_ADDR'].strip()
 | 
			
		||||
    system,system_version = platform_info(ip)
 | 
			
		||||
    if not system_version:
 | 
			
		||||
        put_302(environ, start_response)
 | 
			
		||||
    if system_version is None:
 | 
			
		||||
       return  put_302(environ, start_response)
 | 
			
		||||
    if system_version[0:1] < '6':
 | 
			
		||||
        logger.debug("system < 6:%s"%system_version)
 | 
			
		||||
        location = '/android_splash'
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue