Fixed: Typo that could probably lead to an infinite loop.

pull/3227/head
Leonardo Galli 6 years ago
parent eb077b043e
commit df18c34878

@ -109,7 +109,7 @@ namespace NzbDrone.Core.MediaCover
_logger.Warn(e, string.Format("Couldn't download media cover for {0}. {1}", movie, e.Message)); _logger.Warn(e, string.Format("Couldn't download media cover for {0}. {1}", movie, e.Message));
if (retried < 3) if (retried < 3)
{ {
retried = +1; retried += 1;
_logger.Warn("Retrying for the {0}. time in ten seconds.", retried); _logger.Warn("Retrying for the {0}. time in ten seconds.", retried);
System.Threading.Thread.Sleep(10 * 1000); System.Threading.Thread.Sleep(10 * 1000);
EnsureCovers(movie, retried); EnsureCovers(movie, retried);

Loading…
Cancel
Save