Skip to content
This repository has been archived by the owner on Mar 5, 2018. It is now read-only.

Commit

Permalink
Tweaks to make XSLT's peculiarities work better...
Browse files Browse the repository at this point in the history
  • Loading branch information
mlissner committed Apr 7, 2015
1 parent e129e37 commit 821dd4e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions settings/05-private.py.sample
Expand Up @@ -9,8 +9,7 @@ DATABASE_PASSWORD = 'recapthelaw'
# See issue #59 for details on this variable. In a production environment it
# should be unset. In a DEV environment, it is used to put uploaded items in
# a separate bucket from legitimate items by giving them a custom namespace.
# Note that this value must be quoted with both double and single quotes.
DEV_BUCKET_PREFIX = "''"
DEV_BUCKET_PREFIX = ""
SERVER_HOSTNAME = 'http://localhost:8000'
SERVER_BASEDIR = 'recap/'
UPLOAD_AUTHKEY = ''
Expand Down
2 changes: 1 addition & 1 deletion uploads/DocketXML.py
Expand Up @@ -345,7 +345,7 @@ def to_html(self):
html = unicode(
docket_xsl_transform(
xmldoc,
DEV_BUCKET_PREFIX=settings.DEV_BUCKET_PREFIX,
DEV_BUCKET_PREFIX="'%s'" % settings.DEV_BUCKET_PREFIX,
)
).encode("utf-8")

Expand Down

0 comments on commit 821dd4e

Please sign in to comment.