handlers.py
changeset 56 69494e4a5ecc
parent 55 5667d2bbdc50
child 59 8ec729c5d998
equal deleted inserted replaced
55:5667d2bbdc50 56:69494e4a5ecc
    62     if format == 'txt' :
    62     if format == 'txt' :
    63         # XXX: formatting
    63         # XXX: formatting
    64 #        return http.Response('\n'.join(str(channel.source.get_latest(count))), 'text/plain')
    64 #        return http.Response('\n'.join(str(channel.source.get_latest(count))), 'text/plain')
    65          pass
    65          pass
    66 
    66 
       
    67     elif format == 'html' :
       
    68         pass
       
    69 
    67     else :
    70     else :
    68         raise http.ResponseError("Unknown filetype %r" % format)
    71         raise http.ResponseError("Unknown filetype %r" % format)
    69 
    72 
    70 @preferences.handler(prefs.Timezone)
    73 @preferences.handler(prefs.Timezone)
    71 def channel_calendar (request, channel, year, month, timezone) :
    74 def channel_calendar (request, channel, year, month, timezone) :