aboutsummaryrefslogtreecommitdiff
path: root/reddit_nextcloud_importer
diff options
context:
space:
mode:
authorGabriel Arakaki Giovanini <mail@gabrielgio.me>2022-10-16 18:23:23 +0200
committerGabriel Arakaki Giovanini <mail@gabrielgio.me>2022-10-16 18:38:09 +0200
commitfa2f913da41e5dbf33c3a6372372da8c53d519ee (patch)
treee070121cc8e59bd937f52445e5cd7854f0921aff /reddit_nextcloud_importer
parenta43c49511ba01aea3713def375455af3f3c45396 (diff)
downloadreddit-nextcloud-importer-fa2f913da41e5dbf33c3a6372372da8c53d519ee.tar.gz
reddit-nextcloud-importer-fa2f913da41e5dbf33c3a6372372da8c53d519ee.tar.bz2
reddit-nextcloud-importer-fa2f913da41e5dbf33c3a6372372da8c53d519ee.zip
fix: fix testing
Diffstat (limited to 'reddit_nextcloud_importer')
-rw-r--r--reddit_nextcloud_importer/__init__.py3
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