Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix --no-color #1392

Merged
merged 2 commits into from
Sep 18, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/core/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 if opt.color is False else 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"
Expand Down
Loading