We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70fc82b commit 32ef4d9Copy full SHA for 32ef4d9
src/wrapper.cpp
@@ -36,7 +36,7 @@ T deserialize(py::tuple t)
36
throw std::runtime_error("(Pickle) Invalid input tuple!");
37
T c = T();
38
std::string encoded_str = t[0].cast<std::string>();
39
- std::string decoded_str = base64_decode(cipherstr_encoded);
+ std::string decoded_str = base64_decode(encoded_str);
40
std::stringstream input(std::ios::binary | std::ios::in);
41
input.str(decoded_str);
42
c.load(input);
0 commit comments