Skip to content
Permalink
Browse files

Typo

  • Loading branch information
da2x committed Jul 27, 2015
1 parent a056aba commit 980312b3ff0b635ccdd4535d3360a314f6d97f6e
Showing with 1 addition and 1 deletion.
  1. +1 −1 nikola/plugins/command/check.py
@@ -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)

0 comments on commit 980312b

Please sign in to comment.
You can’t perform that action at this time.