From 5dc78114ff22e393c72261920bf2b8a78a7852b7 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Tue, 3 Mar 2015 12:46:00 +0100 Subject: [PATCH] Server/py: Apply PEP8. --- plomrogue-server.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plomrogue-server.py b/plomrogue-server.py index 929edbb..b5e4db6 100755 --- a/plomrogue-server.py +++ b/plomrogue-server.py @@ -138,8 +138,8 @@ def save_world(): length = world_db["MAP_LENGTH"] for i in range(length): line = map[i * length:(i * length) + length].decode() - string = string + key + " " + str(i) + " " + quote(line) + \ - "\n" + string = string + key + " " + str(i) + " " + quote(line) \ + + "\n" return string return helper @@ -750,7 +750,7 @@ def setter_tpos(axis): world_db["Things"][command_tid.id]["T_POS" + axis] = val if world_db["WORLD_ACTIVE"] \ and world_db["Things"][command_tid.id]["T_LIFEPOINTS"]: - build_fov_map( world_db["Things"][command_tid.id]) + build_fov_map(world_db["Things"][command_tid.id]) if 0 == command_tid.id: update_map_memory(world_db["Things"][command_tid.id]) else: -- 2.30.2