summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormorpheus65535 <[email protected]>2021-09-13 09:17:16 -0400
committerGitHub <[email protected]>2021-09-13 09:17:16 -0400
commit0e01c64079cced6e5ed8b2555c0506ae2bec6a1a (patch)
tree1c230e1c3e42a3e2a01074a021773e92acadf928
parentb137af0908daf71b16873935dbcfc643cc875674 (diff)
downloadbazarr-0e01c64079cced6e5ed8b2555c0506ae2bec6a1a.tar.gz
bazarr-0e01c64079cced6e5ed8b2555c0506ae2bec6a1a.zip
Fixed Addic7ed AttributeError exception with some movies #1525v0.9.10-beta.1
-rw-r--r--libs/subliminal_patch/providers/addic7ed.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/subliminal_patch/providers/addic7ed.py b/libs/subliminal_patch/providers/addic7ed.py
index 530ab62dc..2ff04afdf 100644
--- a/libs/subliminal_patch/providers/addic7ed.py
+++ b/libs/subliminal_patch/providers/addic7ed.py
@@ -37,7 +37,7 @@ class Addic7edSubtitle(_Addic7edSubtitle):
download_link, uploader=None):
super(Addic7edSubtitle, self).__init__(language, hearing_impaired, page_link, series, season, episode,
title, year, version, download_link)
- self.release_info = version.replace('+', ',')
+ self.release_info = version.replace('+', ',') if version else None
self.uploader = uploader
def get_matches(self, video):