From 0bf56a0fb35d60fa2ade7ea661ed5a68f426fa66 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Wed, 4 Nov 2020 05:34:13 +0100 Subject: [PATCH] More quote fixing. --- new2/plomrogue/game.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.30.2