From bf31077cc295f8ed39feb3187642311718a6971a Mon Sep 17 00:00:00 2001 From: echel0n Date: Sat, 26 Apr 2014 01:09:38 -0700 Subject: [PATCH] Fix for thread locking issues --- sickbeard/providers/generic.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sickbeard/providers/generic.py b/sickbeard/providers/generic.py index a5cce3b2..997d6d1e 100644 --- a/sickbeard/providers/generic.py +++ b/sickbeard/providers/generic.py @@ -244,7 +244,8 @@ class GenericProvider: self._checkAuth() # XEM episode scene numbering - sceneEpisode = copy.deepcopy(episode) + with episode.lock: + sceneEpisode = copy.deepcopy(episode) sceneEpisode.convertToSceneNumbering() logger.log(u'Searching "%s" for "%s" as "%s"'