Skip to content

Commit 7553b5a

Browse files
committedMay 19, 2015
flake8
1 parent c09c93c commit 7553b5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎nikola/plugins/command/check.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ def analyze(self, task, find_sources=False, check_remote=False):
218218
if parsed.netloc == base_url.netloc:
219219
continue
220220
# Check the remote link works
221-
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!
221+
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!
222222
resp = requests.head(target, headers=req_headers)
223223
if resp.status_code > 399: # Error
224224
self.logger.warn("Broken link in {0}: {1} [Error {2}]".format(filename, target, resp.status_code))

0 commit comments

Comments
 (0)
Please sign in to comment.