diff options
Diffstat (limited to 'src/wikiget')
| -rw-r--r-- | src/wikiget/parse.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wikiget/parse.py b/src/wikiget/parse.py index 6396b3f..847cfa4 100644 --- a/src/wikiget/parse.py +++ b/src/wikiget/parse.py @@ -51,7 +51,7 @@ def get_dest(dl: str, args: Namespace) -> File: filename = file_match.group(2) else: # no file extension and/or prefix, probably an article - msg = f"Could not parse input '{filename}' as a file" + msg = f"Could not parse input '{dl}' as a file" raise ParseError(msg) filename = unquote(filename) # remove URL encoding for special characters |
