Fix flake8 E203 errors in teachable.py

This commit resolves the flake8 E203 errors in the teachable.py file. The errors were caused by unnecessary whitespace before colons on lines 210 and 386. The removal of these spaces ensures the code adheres to PEP 8 style guidelines, allowing flake8 to run without any errors.
This commit is contained in:
Abdessamad DERRAZ 2023-07-20 23:19:07 +02:00
parent 0dd98c888d
commit a997e972a5

View File

@ -207,7 +207,7 @@ def _real_extract(self, url):
prefixed = url.startswith(self._URL_PREFIX)
if prefixed:
url = url[len(self._URL_PREFIX) :]
url = url[len(self._URL_PREFIX):]
webpage = self._download_webpage(url, video_id)
@ -383,7 +383,7 @@ def _real_extract(self, url):
prefixed = url.startswith(self._URL_PREFIX)
if prefixed:
prefix = self._URL_PREFIX
url = url[len(prefix) :]
url = url[len(prefix):]
webpage = self._download_webpage(url, course_id)