Skip to content

Commit 7306272

Browse files
committed
Fix bad click.exit() call
1 parent b93f2b7 commit 7306272

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bin/bna

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class App:
8080
self.config.read([self.config_file])
8181
except Exception as e:
8282
click.echo(f"Could not parse config file {self.config_file}: {e}", err=True)
83-
click.exit(1)
83+
exit(1)
8484

8585
def _serials(self) -> List[str]:
8686
return [x for x in self.config.sections() if x != "bna"]

0 commit comments

Comments
 (0)