aboutsummaryrefslogtreecommitdiff
path: root/src/wikiget/dl.py
diff options
context:
space:
mode:
authorCody Logan <cody@lokken.dev>2023-11-15 10:02:48 -0800
committerGitHub <noreply@github.com>2023-11-15 10:02:48 -0800
commit55a5311ee4da639a65bd60622315f3fff6936c9a (patch)
tree285f960d4a7afe9d27ecca51e86e7f00fb914d22 /src/wikiget/dl.py
parent96316c8be7bc21617ec5333f87864a0f002ebaa4 (diff)
parentba782d54aa70a1faf6bf6cdcaeb446f7b4c503db (diff)
downloadwikiget-55a5311ee4da639a65bd60622315f3fff6936c9a.tar.gz
wikiget-55a5311ee4da639a65bd60622315f3fff6936c9a.zip
Merge pull request #13 from clpo13/testing-tmp-folder
Change to temp directory when running tests
Diffstat (limited to 'src/wikiget/dl.py')
-rw-r--r--src/wikiget/dl.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wikiget/dl.py b/src/wikiget/dl.py
index abd0533..9b2777f 100644
--- a/src/wikiget/dl.py
+++ b/src/wikiget/dl.py
@@ -49,7 +49,7 @@ def prep_download(dl: str, args: Namespace) -> File:
:type args: argparse.Namespace
:raises FileExistsError: the destination file already exists on disk
:return: a File object representing the file to download
- :rtype: File
+ :rtype: wikiget.file.File
"""
file = get_dest(dl, args)
@@ -169,7 +169,7 @@ def download(f: File, args: Namespace) -> int:
"""Fetch file information and contents if the file exists and save it to disk.
:param f: a File object representing the file to be downloaded
- :type f: File
+ :type f: wikiget.file.File
:param args: command-line arguments and their values
:type args: argparse.Namespace
:return: number of errors encountered during processing