mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-31 08:25:35 +00:00
must be new-style class (and I guess Resource isn't?)
This commit is contained in:
parent
221b2ca87f
commit
0a5aa61a70
@ -429,7 +429,7 @@ def _color(server):
|
||||
return min(ord(c) / 2 + 0x80, 0xff)
|
||||
return "#%02x%02x%02x" % (m(h[0]), m(h[1]), m(h[2]))
|
||||
|
||||
class _EventJson(Resource):
|
||||
class _EventJson(Resource, object):
|
||||
|
||||
def __init__(self, download_status):
|
||||
self._download_status = download_status
|
||||
|
Loading…
x
Reference in New Issue
Block a user