diff options
author | Gonzalo Odiard <godiard@gmail.com> | 2011-06-24 20:17:13 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@gmail.com> | 2011-06-24 20:20:28 (GMT) |
commit | 5c191dd35a8f330c3e5c19482a820ce55ddd7b60 (patch) | |
tree | fe63f5b11fe9483dc2686829e3ea5397e0704fcb | |
parent | 275dda563f1febb1fdab12eb12f52d9453934d03 (diff) |
Use SimpleHTTPRequestHandler because network.ChunkedGlibHTTPRequestHandler is broken
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
-rw-r--r-- | readactivity.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/readactivity.py b/readactivity.py index 5e51bff..38021e4 100644 --- a/readactivity.py +++ b/readactivity.py @@ -29,6 +29,7 @@ import gobject import gtk import pango import telepathy +import SimpleHTTPServer from sugar.activity import activity from sugar.graphics.toolbutton import ToolButton @@ -84,8 +85,7 @@ def get_md5(filename): fh.close() return digest.hexdigest() - -class ReadHTTPRequestHandler(network.ChunkedGlibHTTPRequestHandler): +class ReadHTTPRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler): """HTTP Request Handler for transferring document while collaborating. RequestHandler class that integrates with Glib mainloop. It writes |