Skip to content

Commit cd002d2

Browse files
committed
Missed line in 0a770b5
1 parent 0a770b5 commit cd002d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mythtv/contrib/maintenance/logcleanup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def deletelogs(instances, opts):
9292
instances.pop(0).delete()
9393

9494
def main(opts):
95-
ls = sorted([LogFile(opts.logpath, f) for f in os.listdir(opts.logpath)])
95+
ls = sorted(LogFile.filter(opts.logpath, os.listdir(opts.logpath)))
9696
if len(ls) == 0:
9797
print "Warning: Empty log path!"
9898
sys.exit(1)

0 commit comments

Comments
 (0)