Merge pull request #13 from schwert/renpy8
Allows unpacking renpy 8 archives
This commit is contained in:
commit
bb0cf19f04
1 changed files with 4 additions and 1 deletions
3
rpatool
3
rpatool
|
@ -17,6 +17,9 @@ if sys.version_info[0] >= 3:
|
||||||
return text
|
return text
|
||||||
|
|
||||||
def _unmangle(data):
|
def _unmangle(data):
|
||||||
|
if type(data) == bytes:
|
||||||
|
return data
|
||||||
|
else:
|
||||||
return data.encode('latin1')
|
return data.encode('latin1')
|
||||||
|
|
||||||
def _unpickle(data):
|
def _unpickle(data):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue