Skip to content

Commit

Permalink
Fixed loading nested config entries
Browse files Browse the repository at this point in the history
  • Loading branch information
NoxArt committed Nov 12, 2012
1 parent 88d431e commit 0397c98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FTPSync.py
Expand Up @@ -424,7 +424,7 @@ def loadConfig(file_path):

# merge nested
for index in nested:
result[name][projectDefaults[index][0]] = dict(result[name][projectDefaults[index][0]].items() + projectDefaults[index][1].items())
result[name][projectDefaults[index][0]] = dict(projectDefaults[index][1].items() + result[name][projectDefaults[index][0]].items())
try:
if result[name]['debug_extras']['dump_config_load'] is True:
printMessage(result[name])
Expand Down

0 comments on commit 0397c98

Please sign in to comment.