Reverse merging using priority
This commit is contained in:
1 parent
1fe23afd1b
commit
9235eda73b
1 file changed
+2
@@ -104,6 +104,8 @@ def fireEvent(name, *args, **kwargs):
|
|||||||
|
|
||||||
# Merge
|
# Merge
|
||||||
if options['merge'] and len(results) > 0:
|
if options['merge'] and len(results) > 0:
|
||||||
|
results.reverse() # Priority 1 is higher then 100
|
||||||
|
|
||||||
# Dict
|
# Dict
|
||||||
if isinstance(results[0], dict):
|
if isinstance(results[0], dict):
|
||||||
merged = {}
|
merged = {}
|
||||||
|
|||||||
Reference in new issue
Block a user