WebStack

examples/Twisted/CalendarApp.py

493:c1e3e05d2ce4
2005-11-14 paulb [project @ 2005-11-14 14:41:27 by paulb] Added filesystem encoding workaround.
     1 #!/usr/bin/env python     2      3 from WebStack.Adapters.Twisted import deploy     4 from Calendar import CalendarResource     5      6 print "Serving..."     7      8 # Choose or customise one of the following if the example fails.     9     10 deploy(CalendarResource())    11 #deploy(CalendarResource("iso-8859-1"))    12     13 # vim: tabstop=4 expandtab shiftwidth=4