parent
d6e51fa204
commit
7b191add79
|
@ -134,7 +134,7 @@ class MboxListBuffer(Buffer):
|
|||
f = open(self.path, 'r')
|
||||
self.size = len(f.read())
|
||||
f.close()
|
||||
if sys.version_info == 4:
|
||||
if sys.version_info[1] == 4:
|
||||
fp = open(self.path, 'rb')
|
||||
self.mbox = mailbox.UnixMailbox(fp)
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue