cosmetics

This commit is contained in:
Bernardo Damele
2011-07-01 10:04:34 +00:00
parent 4513ef409e
commit 861cdb1b14
2 changed files with 18 additions and 10 deletions

View File

@@ -157,11 +157,12 @@ class Wordlist:
self.iter = iter(self.custom)
else:
current = self.filenames[self.index]
infoMsg = "loading dictionary from: '%s'" % current
infoMsg = "loading dictionary from '%s'" % current
singleTimeLogMessage(infoMsg)
self.fp = open(current, "r")
self.cursize = os.path.getsize(current)
self.iter = self.fp.xreadlines()
self.index += 1
def append(self, value):