Skip to content

Commit

Permalink
added fix for bug Arachnid#35
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon Holtsclaw authored and Arachnid committed Feb 25, 2010
1 parent f828723 commit a99b77c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions static.py
Expand Up @@ -18,8 +18,11 @@

HTTP_DATE_FMT = "%a, %d %b %Y %H:%M:%S GMT"

ROOT_ONLY_FILES = ['/robots.txt','/' + config.google_site_verification]

if config.google_site_verification is not None:
ROOT_ONLY_FILES = ['/robots.txt','/' + config.google_site_verification]
else:
ROOT_ONLY_FILES = ['/robots.txt']

class StaticContent(db.Model):
"""Container for statically served content.
Expand Down

0 comments on commit a99b77c

Please sign in to comment.