Browse Source

prepath

master
Andreas Demmelbauer 4 years ago
parent
commit
e36da2c313
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      ir-remote-timer.py

+ 1
- 0
ir-remote-timer.py View File

@@ -29,6 +29,7 @@ def turnAllProjectorsOff():
class Simple(resource.Resource): class Simple(resource.Resource):
isLeaf = True isLeaf = True
def render_GET(self, request): def render_GET(self, request):
print(request.prepath)
statustext = "" statustext = ""
if request.prepath == "on": if request.prepath == "on":
statustext = "turn all projectors on ..." statustext = "turn all projectors on ..."


Loading…
Cancel
Save