Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
da2x committed Jul 27, 2015
1 parent a056aba commit 980312b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nikola/plugins/command/check.py
Expand Up @@ -225,7 +225,7 @@ def analyze(self, fname, find_sources=False, check_remote=False):
req_headers = {'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0 (Nikola)'} # I’m a real boy!
resp = requests.head(target, headers=req_headers)
# Retry client errors (4xx) as GET requests
if resp.status_code => 400 and resp.status_code <= 499:
if resp.status_code >= 400 and resp.status_code <= 499:
time.sleep(0.5)
resp = requests.get(target, headers=req_headers)

Expand Down

0 comments on commit 980312b

Please sign in to comment.