diff options
Diffstat (limited to 'reddit_nextcloud_importer')
-rw-r--r-- | reddit_nextcloud_importer/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/reddit_nextcloud_importer/__init__.py b/reddit_nextcloud_importer/__init__.py index 6097ef4..c0d769c 100644 --- a/reddit_nextcloud_importer/__init__.py +++ b/reddit_nextcloud_importer/__init__.py @@ -1,6 +1,7 @@ import argparse import logging import os +from typing import List from time import sleep import praw @@ -92,7 +93,7 @@ def get_list_of_files(dirName): return allFiles -def download(url) -> [str]: +def download(url) -> List[str]: d = DownloadJob(url=url) d.run() basedir = d.pathfmt.basedirectory |