diff --git a/puzzle_generator/_ea_configurators/eac_simple/eacs_simple.py b/puzzle_generator/_ea_configurators/eac_simple/eacs_simple.py index 1da7b73..4b9167f 100644 --- a/puzzle_generator/_ea_configurators/eac_simple/eacs_simple.py +++ b/puzzle_generator/_ea_configurators/eac_simple/eacs_simple.py @@ -34,7 +34,7 @@ def get_constants_str( self.bu_configurator, **self._scrypt_params ) _signature_params = "_SIGNATURE_PARAMS = " + repr(self._signature_params) - decrypt: str = "_DECRYPT = get_decrypt(_SCRYPT_PARAMS, _SIGNATURE_PARAMS)" + decrypt: str = "_decrypt = get_decrypt(_SCRYPT_PARAMS, _SIGNATURE_PARAMS)" return f"{_scrypt_params}\n{_signature_params}\n{decrypt}" @property diff --git a/puzzle_generator/_ea_configurators/eac_simple/eacs_spiced.py b/puzzle_generator/_ea_configurators/eac_simple/eacs_spiced.py index 90c3e7d..868e8af 100644 --- a/puzzle_generator/_ea_configurators/eac_simple/eacs_spiced.py +++ b/puzzle_generator/_ea_configurators/eac_simple/eacs_spiced.py @@ -69,7 +69,7 @@ def get_constants_str( ) _signature_params = "_SIGNATURE_PARAMS = " + repr(self._signature_params) decrypt: str = ( - "_DECRYPT = get_decrypt(" + "_decrypt = get_decrypt(" "_PROC_SPICES, " "_SIGNATURE_SPICES, " "_SCRYPT_PARAMS, _SIGNATURE_PARAMS)" diff --git a/puzzle_generator/_rp_configurators.py b/puzzle_generator/_rp_configurators.py index 28e2658..ad9b48d 100644 --- a/puzzle_generator/_rp_configurators.py +++ b/puzzle_generator/_rp_configurators.py @@ -23,7 +23,7 @@ def puzzle_data( return f"_PUZZLE = ({question}, bytestr_to_bytes({rest_str}))" def call(self) -> str: - return "run_puzzle(_PUZZLE, _DECRYPT, input)" + return "run_puzzle(_PUZZLE, _decrypt, input)" def _get_name(in_fun: typing.Callable[[str], str] | None) -> str: @@ -64,7 +64,7 @@ def puzzle_data( ) def call(self) -> str: - return "run_puzzle_with_hints(_PUZZLE, _HINTS, _DECRYPT, input)" + return "run_puzzle_with_hints(_PUZZLE, _HINTS, _decrypt, input)" def get_rp_configurator(unique_hints: list[None | typing.Callable[[str], str]] | None): diff --git a/pyproject.toml b/pyproject.toml index edf7c6b..8501a0c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "puzzle-generator" -version = "0.20.1" +version = "0.20.2" description = "Generates python code representing a puzzle" authors = ["piotr.idzik "] readme = "./puzzle_generator/README.md"