Index: papyon-0.4.3/papyon/p2p.py =================================================================== --- papyon-0.4.3.orig/papyon/p2p.py 2009-11-08 01:39:38.981813305 -0800 +++ papyon-0.4.3/papyon/p2p.py 2009-11-08 01:40:38.131141864 -0800 @@ -159,7 +159,10 @@ shad = base64.b64decode(shad) shac = element.get("SHA1C", None) if shac is not None: - shac = base64.b64decode(shac) + try: + shac = base64.b64decode(shac) + except TypeError: + logger.warning("Invalid SHA1C in MSNObject") result = MSNObject(creator, size, type, location, friendly, shad, shac) result._repr = xml_data