typo in previous

This commit is contained in:
Florian Friesdorf 2008-03-20 13:46:42 +01:00 committed by John Goerzen
parent b18f55a7e2
commit 7a70878ed6

View File

@ -67,7 +67,7 @@ class LocalStatusFolder(BaseFolder):
file = open(self.filename, "rt")
self.messagelist = {}
line = file.readline().strip()
if not line and not line.read()
if not line and not line.read():
# The status file is empty - should not have happened,
# but somehow did.
file.close()