Projects STRLCPY maigret Commits 10ef1027
🤬
  • 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
  • Loading...
  • Ben committed with GitHub 2 years ago
    10ef1027
    1 parent 523317e7
  • ■ ■ ■ ■ ■ ■
    maigret/errors.py
    skipped 62 lines
    63 63  ERRORS_TYPES = {
    64 64   'Captcha': 'Try to switch to another IP address or to use service cookies',
    65 65   'Bot protection': 'Try to switch to another IP address',
    66  - 'Censorship': 'switch to another internet service provider',
     66 + 'Censorship': 'Switch to another internet service provider',
    67 67   'Request timeout': 'Try to increase timeout or to switch to another internet service provider',
    68  - 'Connecting failure': 'Try to decrease number of parallel connections (e.g. --n 10)',
     68 + 'Connecting failure': 'Try to decrease number of parallel connections (e.g. -n 10)',
    69 69  }
    70 70   
    71 71  # TODO: checking for reason
    skipped 61 lines
Please wait...
Page is in error, reload to recover