summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2022-06-23 16:00:03 +0200
committerBastien Nocera <hadess@hadess.net>2022-06-27 14:36:12 +0200
commit1e7655dac34bcb802668105216cbb5f3ecc47b5f (patch)
treef4dd3220a6bf8d5f67159b6929d7af47ceff6f05
parentedbb20a545aa1acdfb0060460a2d6b279884d31e (diff)
downloadtotem-1e7655dac34bcb802668105216cbb5f3ecc47b5f.tar.gz
opensubtitles: Fix "string statement with no effect"
src/plugins/opensubtitles/opensubtitles.py:345:12: W0105: String statement has no effect (pointless-string-statement)
-rw-r--r--src/plugins/opensubtitles/opensubtitles.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/opensubtitles/opensubtitles.py b/src/plugins/opensubtitles/opensubtitles.py
index ac7a04a0b..5caa26ddb 100644
--- a/src/plugins/opensubtitles/opensubtitles.py
+++ b/src/plugins/opensubtitles/opensubtitles.py
@@ -341,7 +341,7 @@ class OpenSubtitlesModel:
self._lock.release ()
return (result['data'], message)
- """Not found by movie_hash and moviebytesize, fallback to title"""
+ # Not found by movie_hash and moviebytesize, fallback to title
searchdata = {'sublanguageid': self.lang,
'query' : movie_title}
try: