X-Git-Url: https://plomlompom.com/repos/?p=plomrogue;a=blobdiff_plain;f=server%2Fio.py;h=3e1fb41862e18827fb4ad805e3aab556900c6a99;hp=ad30cc2d1fe892e1fcdf65549d6d5fadb2aad60f;hb=2f7c446f698dbcf510a4997e1689e3a2df3e24be;hpb=6a8352afec5e0b7b9adc315e1518569ff9a683d1 diff --git a/server/io.py b/server/io.py index ad30cc2..3e1fb41 100644 --- a/server/io.py +++ b/server/io.py @@ -170,7 +170,7 @@ def save_world(): for _id in sorted(world_db[category].keys()): string = string + id_string + " " + str(_id) + "\n" for key in sorted(world_db[category][_id].keys()): - if not key in special_keys: + if key.isupper() and not key in special_keys: x = world_db[category][_id][key] argument = quote_escape(x) if str == type(x) else str(x) string = string + key + " " + argument + "\n"