text fixes
This commit is contained in:
		
							parent
							
								
									033b139141
								
							
						
					
					
						commit
						5b72fd4e36
					
				
							
								
								
									
										2
									
								
								Utils.py
								
								
								
								
							
							
						
						
									
										2
									
								
								Utils.py
								
								
								
								
							| 
						 | 
				
			
			@ -205,7 +205,7 @@ def get_public_ipv6() -> str:
 | 
			
		|||
        ip = urllib.request.urlopen('https://v6.ident.me').read().decode('utf8').strip()
 | 
			
		||||
    except Exception as e:
 | 
			
		||||
        logging.exception(e)
 | 
			
		||||
        pass  # we could be offline, in a local game, so no point in erroring out
 | 
			
		||||
        pass  # we could be offline, in a local game, or ipv6 may not be available
 | 
			
		||||
    return ip
 | 
			
		||||
 | 
			
		||||
def get_options() -> dict:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -23,10 +23,6 @@ class Room(db.Entity):
 | 
			
		|||
    last_port = Optional(int, default=lambda: 0)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class Seed(db.Entity):
 | 
			
		||||
    id = PrimaryKey(int, auto=True)
 | 
			
		||||
    rooms = Set(Room)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue