]> git.mxchange.org Git - quix0rs-apt-p2p.git/blobdiff - apt_p2p/HTTPServer.py
Multiple peer downloading is mostly working now.
[quix0rs-apt-p2p.git] / apt_p2p / HTTPServer.py
index c3c64b86b5434dcf21ff1a3d769e28733fffcf12..f3d6de72525281df73660f35adc252f26d630414 100644 (file)
@@ -227,7 +227,7 @@ class TopLevel(resource.Resource):
                     log.msg('Sending torrent string %s to %s' % (b2a_hex(hash), request.remoteAddr))
                     return static.Data(bencode({'t': files[0]['pieces']}), 'application/x-bencoded'), ()
             else:
-                log.msg('Hash could not be found in database: %s' % hash)
+                log.msg('Hash could not be found in database: %r' % hash)
 
         # Only local requests (apt) get past this point
         if request.remoteAddr.host != "127.0.0.1":