mirror of
https://github.com/freedoom/freedoom.git
synced 2025-09-01 22:25:46 -04:00
Update other scripts to support Python 3 build.
A couple of scripts were not Python 3 compatible. Update smtextgen to use print() instead of bare print, and update the texture build script to use the correct binary mode for writing binary files.
This commit is contained in:
parent
e47b69a064
commit
02bd566362
2 changed files with 10 additions and 9 deletions
|
@ -140,9 +140,9 @@ def parse_command_line(args):
|
|||
args = parse_command_line(sys.argv[1:])
|
||||
|
||||
if not args:
|
||||
print "Usage: smtextgen <filename> <size> [...text commands...]"
|
||||
print "Where each text command looks like:"
|
||||
print " [x,y] [text]"
|
||||
print("Usage: smtextgen <filename> <size> [...text commands...]")
|
||||
print("Where each text command looks like:")
|
||||
print(" [x,y] [text]")
|
||||
sys.exit(0)
|
||||
|
||||
smallfont = Font()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue