Skip to content

Commit c066299

Browse files
authored
Eliminate a potential redundant check in config
1 parent 3c26cd8 commit c066299

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

mrq/config.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,8 +439,6 @@ def get_config(
439439
# We only keep variables starting with an uppercase character.
440440
if k[0].isupper():
441441
default_config[k.lower()] = v
442-
if k.lower() not in default_config:
443-
default_config[k.lower()] = v
444442

445443
# Merge the config in the order given by the user
446444
merged_config = default_config

0 commit comments

Comments
 (0)