Skip to content

Commit

Permalink
Shorten code
Browse files Browse the repository at this point in the history
  • Loading branch information
shelld3v committed Sep 18, 2024
1 parent 1d4d350 commit bcb10a1
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
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 if opt.color is False else 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"
Expand Down

0 comments on commit bcb10a1

Please sign in to comment.