Remove unused parameter

This commit is contained in:
Serene-Arc
2021-02-15 15:12:27 +10:00
committed by Ali Parlakci
parent f71a3c5326
commit 714b6c5b72
13 changed files with 28 additions and 39 deletions

View File

@@ -1,7 +1,6 @@
#!/usr/bin/env python3
import logging
import pathlib
import tempfile
import youtube_dl
@@ -14,8 +13,8 @@ logger = logging.getLogger(__name__)
class Youtube(BaseDownloader):
def __init__(self, directory: pathlib.Path, post: Submission):
super().__init__(directory, post)
def __init__(self, post: Submission):
super().__init__(post)
def download(self):
return self._download_video()