From bd7d8149d7a7f68c0e021267b132fcfa1cfecd68 Mon Sep 17 00:00:00 2001 From: Kevin Mark Date: Thu, 6 Jul 2017 20:16:33 -0400 Subject: [PATCH] [Panopto] Preferring static over instance methods --- youtube_dl/extractor/panopto.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/youtube_dl/extractor/panopto.py b/youtube_dl/extractor/panopto.py index 0165f292c..2b283dafb 100644 --- a/youtube_dl/extractor/panopto.py +++ b/youtube_dl/extractor/panopto.py @@ -33,7 +33,8 @@ class PanoptoIE(PanoptoBaseIE): _VALID_URL = r'^https?:\/\/(?P[a-z0-9]+)\.hosted\.panopto.com\/Panopto\/Pages\/Viewer\.aspx\?id=(?P[a-f0-9-]+)' - def _get_contribs_str(self, contribs): + @staticmethod + def _get_contribs_str(contribs): s = '' for c in contribs: s += '%s, ' % c['DisplayName']