Remove unused parameter
This commit is contained in:
@@ -1,15 +1,13 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import pathlib
|
||||
|
||||
from praw.models import Submission
|
||||
|
||||
from bulkredditdownloader.site_downloaders.base_downloader import BaseDownloader
|
||||
|
||||
|
||||
class Direct(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_resource(self.post.url)]
|
||||
|
||||
Reference in New Issue
Block a user