diff options
Diffstat (limited to 'http2/data/new.html')
-rw-r--r-- | http2/data/new.html | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/http2/data/new.html b/http2/data/new.html index 21ce445..e6d080e 100644 --- a/http2/data/new.html +++ b/http2/data/new.html @@ -94,10 +94,13 @@ def nameval(name, value, default=0, options=options): <td width=48><img src="bob.png"></td> <td><select name="file">%( for displayname, filename in Game.FnListBoards(): - print( '<option', end='' ) + sys.stdout.write( '<option ' ) if filename == str(options.file): - print( 'selected', end='' ) - print( 'value="%s">' % htmlquote(filename), htmlquote(displayname) ) + sys.stdout.write( 'selected ') + sys.stdout.write( ( ( 'value="%s">' % htmlquote(filename).decode() + ) + htmlquote(displayname).decode() + + '\n' + ) ) )s</select> </td> </tr> |