mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-13 03:22:22 -05:00
Merge pull request #514 from WebSpider/dev-subtitle_traceback
OpenSubtitle logout issue
This commit is contained in:
commit
8b77dddaaf
@ -97,7 +97,11 @@ class OpenSubtitles(ServiceBase):
|
||||
def terminate(self):
|
||||
super(OpenSubtitles, self).terminate()
|
||||
if self.token:
|
||||
self.server.LogOut(self.token)
|
||||
try:
|
||||
self.server.LogOut(self.token)
|
||||
except Exception as e:
|
||||
raise ServiceError(str(e))
|
||||
|
||||
|
||||
def query(self, filepath, languages, moviehash=None, size=None, imdbid=None, query=None):
|
||||
searches = []
|
||||
|
Loading…
Reference in New Issue
Block a user