mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-01-05 10:26:03 +10:00
Update logging_util.py to fix generator subscripting error
This commit is contained in:
@@ -441,7 +441,7 @@ def log_archive_method_finished(result: "ArchiveResult"):
|
||||
|
||||
hints = (
|
||||
' {}{}{}'.format(ANSI['lightyellow'], line.strip(), ANSI['reset'])
|
||||
for line in hints[:5] if line.strip()
|
||||
for line in list(hints)[:5] if line.strip()
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user