From 5d3b65ff275673e88f35a7136b104e10062b55a0 Mon Sep 17 00:00:00 2001 From: Glandos Date: Mon, 18 Sep 2023 09:20:43 +0200 Subject: [PATCH] Fix typos (#199) --- wikiteam3/dumpgenerator/cli/cli.py | 2 +- wikiteam3/dumpgenerator/dump/image/image.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wikiteam3/dumpgenerator/cli/cli.py b/wikiteam3/dumpgenerator/cli/cli.py index 582ca86..95f0e03 100644 --- a/wikiteam3/dumpgenerator/cli/cli.py +++ b/wikiteam3/dumpgenerator/cli/cli.py @@ -48,7 +48,7 @@ def getArgumentParser(): ) parser.add_argument("--force", action="store_true", help="") parser.add_argument( - "--user", help="Username if MedaiWiki authentication is required." + "--user", help="Username if MediaWiki authentication is required." ) parser.add_argument( "--pass", diff --git a/wikiteam3/dumpgenerator/dump/image/image.py b/wikiteam3/dumpgenerator/dump/image/image.py index b79e9eb..256c568 100644 --- a/wikiteam3/dumpgenerator/dump/image/image.py +++ b/wikiteam3/dumpgenerator/dump/image/image.py @@ -154,7 +154,7 @@ class Image: logerror( config=config, to_stdout=True, - text=f"Failled to donwload '{filename2}' with URL '{url}' due to HTTP '{r.status_code}', skipping", + text=f"Failed to download '{filename2}' with URL '{url}' due to HTTP '{r.status_code}', skipping", ) if os.path.isfile(f"{filename3}.desc"):