Skip to content

Commit

Permalink
Don't try to close pbar if it doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
doismellburning committed Jun 17, 2022
1 parent 3f27f78 commit 7fd20a0
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 7fd20a0

Please sign in to comment.