Permalink
Browse files

added large files class

  • Loading branch information...
1 parent f9b8115 commit a61944b6226c56203af19003680a84f48e6dd1c0 David Pick committed Aug 11, 2010
Showing with 7 additions and 0 deletions.
  1. +7 −0 rose_schedule.py
View
@@ -8,6 +8,7 @@ class HomePage:
def index(self):
return '''
<a href="/nextperiod/">Time Till Next Period</a>
+ <a href="/largefiles/">Large Files</a>
'''
@@ -18,8 +19,14 @@ def index(self):
tmpl.period = return_difference()
return str(tmpl)
+class LargeFiles:
+ @cherrypy.expose
+ def index(self):
+ return "large files"
+
root = HomePage()
root.nextperiod = TimeTillNextPeriod()
+root.largefiles = LargeFiles()
cherrypy.tree.mount(root)
cherrypy.quickstart()

0 comments on commit a61944b

Please sign in to comment.