~aj00200/anonplus/trunk

« back to all changes in this revision

Viewing changes to src/apps/libs/api.py

  • Committer: Aj00200
  • Date: 2012-01-01 21:34:23 UTC
  • Revision ID: aj00200@aj00200.org-20120101213423-jwxznsmmpftcq4cq
Setup web ui code to catch 3 different pages: /, /friends.html, and /shutdown.html

Show diffs side-by-side

added added

removed removed

Lines of Context:
62
62
    to send events to. Also calls the setup method on the app object once it
63
63
    is created from the provided class. `app` should be a class.
64
64
    '''
65
 
    pass
 
65
    instance = app()
 
66
    # TODO: register instance
 
67
    instance.setup()
66
68
    
67
69
if __name__ == "__main__":
68
70
    api = VomunAPI()