From: Christian Heller Date: Tue, 3 Mar 2015 00:54:36 +0000 (+0100) Subject: Server/py: Fix out file writing bug. X-Git-Tag: tce~434 X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/%7B%7B%20web_path%20%7D%7D/decks/condition_titles?a=commitdiff_plain;h=8005ebbc6fde2ddb916d591a2f6130f83208640e;p=plomrogue Server/py: Fix out file writing bug. --- diff --git a/plomrogue-server.py b/plomrogue-server.py index cd54c86..b6f9d8f 100755 --- a/plomrogue-server.py +++ b/plomrogue-server.py @@ -482,7 +482,7 @@ def command_makeworld(seed_string): } # generate fov map? # TODO: Generate things (player first, with updated memory) - atomic_write(io_db["path_out"], "NEW_WORLD\n", do_append=True) + strong_write(io_db["file_out"], "NEW_WORLD\n") def command_maplength(maplength_string):