Skip to content

progress() still depends on variable tj #12

@dennisklein

Description

@dennisklein

def progress(lines, total_jops):
return (len(lines) / tj) * 100 if tj else 0

The function progress() still uses the tj variable from the outer scope, but it should use the function argument total_jobs (also note the typo! p -> b).

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions