Update rpatool
Prevent crashing with "Could not save archive file: a bytes-like object is required, not 'str'"
This commit is contained in:
parent
9a58396f95
commit
bb20156277
1 changed files with 1 additions and 1 deletions
2
rpatool
2
rpatool
|
@ -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):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue