mirror of
https://github.com/lalbornoz/roar.git
synced 2024-11-16 12:36:38 +00:00
SAUCEToAnsi.py: updated.
This commit is contained in:
parent
80df97f972
commit
035ab03e3c
@ -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