mirror of
https://github.com/lalbornoz/roar.git
synced 2024-11-22 15:26:37 +00:00
SAUCEToAnsi.py: updated.
This commit is contained in:
parent
a7da0aa679
commit
155a15eeb4
@ -18,7 +18,6 @@ def SAUCEToAnsi(inPathName, outPathName):
|
|||||||
return 1
|
return 1
|
||||||
else:
|
else:
|
||||||
width, height = struct.unpack("H", inFile.read(2))[0], struct.unpack("H", inFile.read(2))[0]
|
width, height = struct.unpack("H", inFile.read(2))[0], struct.unpack("H", inFile.read(2))[0]
|
||||||
print(width)
|
|
||||||
with open(outPathName, "w+") as outFile:
|
with open(outPathName, "w+") as outFile:
|
||||||
inFile.seek(0, 0)
|
inFile.seek(0, 0)
|
||||||
inFileData, row, rowChars = inFile.read(inFileStat.st_size - 128).decode("cp437"), "", 0
|
inFileData, row, rowChars = inFile.read(inFileStat.st_size - 128).decode("cp437"), "", 0
|
||||||
|
Loading…
Reference in New Issue
Block a user