From 9235eda73bbedc24034e6771d72678a04f6f6626 Mon Sep 17 00:00:00 2001 From: Ruud Date: Sun, 17 Mar 2013 12:42:14 +0100 Subject: [PATCH] Reverse merging using priority --- couchpotato/core/event.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/couchpotato/core/event.py b/couchpotato/core/event.py index aa05ce0f..bd704f5c 100644 --- a/couchpotato/core/event.py +++ b/couchpotato/core/event.py @@ -104,6 +104,8 @@ def fireEvent(name, *args, **kwargs): # Merge if options['merge'] and len(results) > 0: + results.reverse() # Priority 1 is higher then 100 + # Dict if isinstance(results[0], dict): merged = {}