From fa2f913da41e5dbf33c3a6372372da8c53d519ee Mon Sep 17 00:00:00 2001 From: Gabriel Arakaki Giovanini Date: Sun, 16 Oct 2022 18:23:23 +0200 Subject: fix: fix testing --- reddit_nextcloud_importer/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'reddit_nextcloud_importer') 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 -- cgit v1.2.3