Skip to content

Commit 9e45f93

Browse files
author
Makoto Koishi
committed
Fixed two bugs around .restconfig parameters
1 parent 0492d95 commit 9e45f93

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

examples/client/consolidated_file_report.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -785,9 +785,8 @@ def main():
785785
else:
786786
bd_url = config['baseurl']
787787
bd_token = config['api_token']
788-
bd_insecure = config['insecure']
789-
if config['debug']:
790-
debug = 1
788+
bd_insecure = not config['insecure']
789+
debug = 1 if config['debug'] else 0
791790

792791
log_config(debug)
793792

0 commit comments

Comments
 (0)