Commit 73a63714 authored by Mathieu Bridon's avatar Mathieu Bridon Committed by Bastien Nocera

opensubtitles: Fix a function signature

Commit 6afabc10 changed the method
signature to please pylint:

-    def _show_dialog (self, params, _):
+    def _show_dialog (self, _):

This effectively makes the method take a single parameter instead of

However the method is typically called with two arguments. (it is an
action callback)

This completely broke the OpenSubtitles plugin, which wasn't able to
show its dialog any more.

This commit makes the code ignore all parameters of the method, so
Pylint is still happy, but fixes the issue.
parent 7f54e1f0
Pipeline #21365 passed with stage
in 7 minutes and 26 seconds