~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/util.py

  • Committer: William Grant
  • Date: 2009-02-17 00:01:10 UTC
  • mto: (1099.1.143 new-dispatch)
  • mto: This revision was merged to the branch mainline in revision 1100.
  • Revision ID: grantw@unimelb.edu.au-20090217000110-mysp1vl5n29uwm2v
Change serveservice's interface - it now uses a JSON-based non-CGI one.
This breaks serving things.

Show diffs side-by-side

added added

removed removed

Lines of Context:
187
187
    try:
188
188
        return open(ivle.conf.tos_path).read()
189
189
    except IOError:
190
 
        return """\
 
190
        return """<h1>Terms of Service</h1>
191
191
<p><b>*** SAMPLE ONLY ***</b></p>
192
192
<p>This is the text of the IVLE Terms of Service.</p>
193
193
<p>The administrator should create a license file with an appropriate