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,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)]