Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar/p2p/network.py
diff options
context:
space:
mode:
Diffstat (limited to 'sugar/p2p/network.py')
-rw-r--r--sugar/p2p/network.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sugar/p2p/network.py b/sugar/p2p/network.py
index 504638a..2270e16 100644
--- a/sugar/p2p/network.py
+++ b/sugar/p2p/network.py
@@ -92,7 +92,7 @@ class ChunkedGlibHTTPRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler):
if self._file:
self._srcid = gobject.io_add_watch(self.wfile, gobject.IO_OUT | gobject.IO_ERR, self._send_next_chunk)
else:
- f.close()
+ self._file.close()
self._cleanup()
def _send_next_chunk(self, source, condition):