Sfoglia il codice sorgente

move simple

master
Andreas Demmelbauer 4 anni fa
parent
commit
143385744c
1 ha cambiato i file con 4 aggiunte e 5 eliminazioni
  1. +4
    -5
      ir-remote-timer.py

+ 4
- 5
ir-remote-timer.py Vedi File

@@ -7,11 +7,6 @@ import time
from twisted.web import server, resource
from twisted.internet import reactor

site = server.Site(Simple())
reactor.listenTCP(80, site)
reactor.startRunning(False)



#print(irsend.list_remotes())

@@ -47,6 +42,10 @@ class Simple(resource.Resource):
html = '<b>%s</b>' % statustext
return html.encode('utf-8')

site = server.Site(Simple())
reactor.listenTCP(80, site)
reactor.startRunning(False)



# Time definitions in UTC (Vienna is UTC+2)


Caricamento…
Annulla
Salva