Skip to content

Commit

Permalink
typpo
Browse files Browse the repository at this point in the history
  • Loading branch information
ralsina committed May 27, 2015
1 parent 972d67d commit fa3a89a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nikola/plugins/command/auto/__init__.py
Expand Up @@ -211,7 +211,7 @@ def serve_static(self, environ, start_response):
if os.path.isdir(f_path):
f_path = os.path.join(f_path, self.site.config['INDEX_FILE'])

if puri.path == '/robots.txt':
if p_uri.path == '/robots.txt':
start_response(b'200 OK', [(b'Content-type', 'txt/plain')])
return '''User-Agent: *\nDisallow: /\n'''
elif os.path.isfile(f_path):
Expand Down

0 comments on commit fa3a89a

Please sign in to comment.