From 962fc9a42a8d3e69b3a14f4791cf8a84b67f5504 Mon Sep 17 00:00:00 2001 From: Toran Bruce Richards Date: Thu, 6 Apr 2023 08:07:54 +0100 Subject: [PATCH] Changes string_key_memory to permanent_memory. Fixes: ```Command memory_ovr returned: Error: module 'memory' has no attribute 'string_key_memory'``` --- scripts/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/commands.py b/scripts/commands.py index 2adb84cf50..f0e5911e86 100644 --- a/scripts/commands.py +++ b/scripts/commands.py @@ -218,7 +218,7 @@ def overwrite_memory(key, string): elif isinstance(key, str): _text = "Overwriting memory with key " + key + " and string " + string # Overwrite the memory slot with the given string key and string - mem.string_key_memory[key] = string + mem.permanent_memory[key] = string print(_text) return _text else: