btw thank you this is all extremely helpful. I have one more problem
I'm trying to solve. I'm Using the variables I get to send commands
to another module, the problem is if the variable is null then I get
an error. I tried to solve this with an if statement:
class index:
def GET(self):
i = web.input()
if i.x1 != None:
x10.sendCommands('/dev/ttyS0', i.x1)
print render.index(i.x1)
But I still get the server error. It works fine if I get rid of the
statement but I have to include the variable in the URL. Any idea
what I'm doing wrong?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---