diff --git a/libs/common/subliminal/extensions.py b/libs/common/subliminal/extensions.py index 7ac277bc..27dcd309 100644 --- a/libs/common/subliminal/extensions.py +++ b/libs/common/subliminal/extensions.py @@ -58,9 +58,6 @@ class RegistrableExtensionManager(ExtensionManager): raise ValueError('Extension already registered') ep = EntryPoint.parse(entry_point) - if ep.name in self.names(): - raise ValueError('An extension with the same name already exist') - ext = self._load_one_plugin(ep, False, (), {}, False) self.extensions.append(ext) if self._extensions_by_name is not None: diff --git a/libs/common/subliminal/providers/addic7ed.py b/libs/common/subliminal/providers/addic7ed.py index 6b5802e9..b8cc9659 100644 --- a/libs/common/subliminal/providers/addic7ed.py +++ b/libs/common/subliminal/providers/addic7ed.py @@ -231,7 +231,7 @@ class Addic7edProvider(Provider): def query(self, show_id, series, season, year=None, country=None): # get the page of the season of the show logger.info('Getting the page of show id %d, season %d', show_id, season) - r = self.session.get(self.server_url + 'show/%d' % show_id, params={'season': season}, timeout=10) + r = self.session.get(self.server_url + 'show/%d' % show_id, params={'season': season}, timeout=10) r.raise_for_status() if not r.content: