From 8d6174aeaaa4fb0f09740c0cba0e27290599c291 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Mon, 14 Apr 2003 14:56:59 +0000 Subject: [PATCH] Ugh. --- src/MiscCommands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MiscCommands.py b/src/MiscCommands.py index e561ac634..cd820ea13 100755 --- a/src/MiscCommands.py +++ b/src/MiscCommands.py @@ -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)))