From 5b72fd4e36268a6ff1146c58dfcd7279ad05c4f8 Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Sun, 21 Jun 2020 16:13:42 +0200 Subject: [PATCH] text fixes --- Utils.py | 2 +- WebHost/models.py | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/Utils.py b/Utils.py index 944d23a1..99daa847 100644 --- a/Utils.py +++ b/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: diff --git a/WebHost/models.py b/WebHost/models.py index 094fc815..5e045e35 100644 --- a/WebHost/models.py +++ b/WebHost/models.py @@ -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)