From: Christian Heller Date: Wed, 4 Nov 2020 04:34:13 +0000 (+0100) Subject: More quote fixing. X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/%7B%7B%20web_path%20%7D%7D/%7B%7Bprefix%7D%7D/processes?a=commitdiff_plain;h=0bf56a0fb35d60fa2ade7ea661ed5a68f426fa66;p=plomrogue2-experiments More quote fixing. --- diff --git a/new2/plomrogue/game.py b/new2/plomrogue/game.py index c89d2c6..5e33bc4 100755 --- a/new2/plomrogue/game.py +++ b/new2/plomrogue/game.py @@ -186,7 +186,7 @@ class Game(GameBase): for yx in self.annotations: write(f, 'ANNOTATE %s %s' % (yx, quote(self.annotations[yx]))) for yx in self.portals: - write(f, 'PORTAL %s %s' % (yx, self.portals[yx])) + write(f, 'PORTAL %s %s' % (yx, quote(self.portals[yx]))) def new_world(self, size): self.map_geometry = MapGeometrySquare(YX(size.y, size.x))