void-packages/srcpkgs/peframe/patches/fix-for-py3.10.patch

12 lines
312 B
Diff

--- a/peframe/modules/features.py
+++ b/peframe/modules/features.py
@@ -18,7 +18,7 @@
delta[x - key_len] ^= delta[x]
""" return the delta as a string """
- return delta.tostring()[:-key_len]
+ return delta.tobytes()[:-key_len]
def get_xor(filename, search_string=False):
xorsearch_custom = False