Skip to content

Commit

Permalink
web: add web_launcher.py and move static to /
Browse files Browse the repository at this point in the history
  • Loading branch information
borisfaure committed Feb 21, 2010
1 parent 9673fdd commit 07ebadc
Show file tree
Hide file tree
Showing 9 changed files with 28 additions and 0 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
28 changes: 28 additions & 0 deletions web_launcher.py
@@ -0,0 +1,28 @@

import web
import optparse
from amsn2.core import aMSNCore


urls = (
'/signin', 'signin'
)


app = web.application(urls, globals())

class signin:
def POST(self):
i = web.input()
try:
u = i.u
p = i.p
except Exception:
return web.badrequest("")




if __name__ == "__main__":
app.run()

0 comments on commit 07ebadc

Please sign in to comment.