Skip to content
Permalink
Browse files

typpo

  • Loading branch information
ralsina committed May 27, 2015
1 parent 972d67d commit fa3a89a907bd858a7500f493044b7d34beccc062
Showing with 1 addition and 1 deletion.
  1. +1 −1 nikola/plugins/command/auto/__init__.py
@@ -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):

0 comments on commit fa3a89a

Please sign in to comment.