Skip to content

Commit

Permalink
Merge pull request #1392 from zrquan/patch-1
Browse files Browse the repository at this point in the history
Fix --no-color
shelld3v authored Sep 18, 2024
2 parents 9752105 + bcb10a1 commit a244715
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core/options.py
Original file line number Diff line number Diff line change
@@ -353,7 +353,7 @@ def parse_config(opt):

# View
opt.full_url = opt.full_url or config.safe_getboolean("view", "full-url")
opt.color = opt.color or config.safe_getboolean("view", "color", True)
opt.color = opt.color and config.safe_getboolean("view", "color", True)
opt.quiet = opt.quiet or config.safe_getboolean("view", "quiet-mode")
opt.redirects_history = opt.redirects_history or config.safe_getboolean(
"view", "show-redirects-history"

0 comments on commit a244715

Please sign in to comment.