Update rpatool

Prevent crashing with "Could not save archive file: a bytes-like object is required, not 'str'"
This commit is contained in:
UniverseDevel 2022-02-15 18:58:25 +01:00 committed by GitHub
parent 9a58396f95
commit bb20156277
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -133,7 +133,7 @@ class RenPyArchive:
padding += chr(random.randint(1, 255)) padding += chr(random.randint(1, 255))
length -= 1 length -= 1
return padding return bytes(padding, 'utf-8')
# Converts a filename to archive format. # Converts a filename to archive format.
def convert_filename(self, filename): def convert_filename(self, filename):