diff --git a/pymemcache/client/base.py b/pymemcache/client/base.py index 04ae0520..c4bf3394 100644 --- a/pymemcache/client/base.py +++ b/pymemcache/client/base.py @@ -1104,7 +1104,7 @@ def _extract_value( except MemcacheUnexpectedCloseError: self.close() raise - original_key = remapped_keys[key] + original_key = remapped_keys.get(key, "") value = self.serde.deserialize(original_key, value, int(flags)) if expect_cas: