Permalink
Browse files

Fixed loading nested config entries

  • Loading branch information...
1 parent 88d431e commit 0397c9805fbaa04c9dae74f457b9e5c2d695ddd3 @NoxArt committed Nov 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 FTPSync.py
View
2 FTPSync.py
@@ -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])

0 comments on commit 0397c98

Please sign in to comment.