mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-07 19:04:21 +00:00
putChild should always be bytes.
This commit is contained in:
parent
b52ab3d230
commit
938fdb05c9
@ -30,7 +30,7 @@ class Root(rend.Page):
|
||||
|
||||
def run(portnum):
|
||||
root = Root()
|
||||
root.putChild("tahoe.css", static.File("tahoe.css"))
|
||||
root.putChild(b"tahoe.css", static.File("tahoe.css"))
|
||||
site = appserver.NevowSite(root)
|
||||
s = strports.service("tcp:%d" % portnum, site)
|
||||
s.startService()
|
||||
|
Loading…
x
Reference in New Issue
Block a user