Skip to content

Commit 0ac3746

Browse files
authored
Merge pull request #121 from ecebuzz/my_master
Eliminate a potential redundant check in config
2 parents 3c26cd8 + c066299 commit 0ac3746

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)