Skip to content

Commit fa3a89a

Browse files
committedMay 27, 2015
typpo
1 parent 972d67d commit fa3a89a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎nikola/plugins/command/auto/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ def serve_static(self, environ, start_response):
211211
if os.path.isdir(f_path):
212212
f_path = os.path.join(f_path, self.site.config['INDEX_FILE'])
213213

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

0 commit comments

Comments
 (0)
Please sign in to comment.