Skip to content

Commit

Permalink
Merge pull request #12 from optile/fix/pbar-close
Browse files Browse the repository at this point in the history
Don't try to close pbar if it doesn't exist
  • Loading branch information
doismellburning authored Jun 20, 2022
2 parents 3f27f78 + 7fd20a0 commit 3aed00b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ghconf/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ def assemble_changedict(args: Namespace, org: Organization) -> Dict[str, ChangeS
capcache[modulename] = False
continue

pbar.close()
if pbar:
pbar.close()
return changedict


Expand Down

0 comments on commit 3aed00b

Please sign in to comment.