--- lib/pyzor/client.py	Tue Aug 23 14:53:09 2005
+++ lib/pyzor/client.py	Tue Aug 23 14:51:36 2005
@@ -693,6 +692,9 @@
 	# type text/plain with encoding 7bit. 7bit is passed trough anyway so nobody cares.
 	if (not msg.has_key("From") and self.type == 'text' and msg.subtype == 'plain' and msg.getencoding() == '7bit'):
 		self.type = 'binary';
+	
+	if self.type is '':
+	    self.type = 'text';
 
         if self.type == 'text':
             encoding = msg.getencoding()
