From 10ef102791a84873d8e818f38dddc4a65ebf8138 Mon Sep 17 00:00:00 2001 From: Ben <5124569+Ben-Chapman@users.noreply.github.com> Date: Sun, 16 Oct 2022 04:28:24 -0400 Subject: [PATCH] Typo fixes in error.py (#711) Fixing two small typos in the error definition file: - "switch to another..." -> ""Switch to another... - Capitalizing this sentence - "...parallel connections (e.g. --n 10)" -> "...parallel connections (e.g. -n 10)" - Removing the extra `-` for this option --- maigret/errors.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/maigret/errors.py b/maigret/errors.py index ec9af42..f92b263 100644 --- a/maigret/errors.py +++ b/maigret/errors.py @@ -63,9 +63,9 @@ COMMON_ERRORS = { ERRORS_TYPES = { 'Captcha': 'Try to switch to another IP address or to use service cookies', 'Bot protection': 'Try to switch to another IP address', - 'Censorship': 'switch to another internet service provider', + 'Censorship': 'Switch to another internet service provider', 'Request timeout': 'Try to increase timeout or to switch to another internet service provider', - 'Connecting failure': 'Try to decrease number of parallel connections (e.g. --n 10)', + 'Connecting failure': 'Try to decrease number of parallel connections (e.g. -n 10)', } # TODO: checking for reason