This commit is contained in:
Jeremy Fincher 2003-04-14 14:56:59 +00:00
parent 71cec26d58
commit 8d6174aeaa
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ class MiscCommands(callbacks.Privmsg):
else:
filenames = os.listdir(conf.logDir)
result = []
for file in os.listdir(conf.logDir):
for file in filenames:
if file.endswith('.log'):
stats = os.stat(os.path.join(conf.logDir, file))
result.append((file, str(stats.st_size)))