mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 12:11:33 -06:00
text fixes
This commit is contained in:
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)
|
||||
|
Reference in New Issue
Block a user