File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 103
103
receiver: null
104
104
transmitter: null
105
105
buttons: []
106
- restfull :
106
+ restful :
107
107
port: 5000
108
108
"""
Original file line number Diff line number Diff line change 1
- """Expose sensors as a Restfull API"""
1
+ """Expose sensors as a Restful API"""
2
2
import json
3
3
import logging
4
4
import threading
@@ -14,7 +14,7 @@ class Addon:
14
14
15
15
def __init__ (self , lnxlink ):
16
16
"""Setup addon"""
17
- self .name = "Restfull "
17
+ self .name = "RESTful "
18
18
self .lnxlink = lnxlink
19
19
self ._requirements ()
20
20
@@ -91,5 +91,5 @@ def post(self, module=None):
91
91
92
92
def _serve (self , app ):
93
93
waitress = import_install_package ("waitress" , ">=3.0.0" , "waitress" )
94
- port = self .lnxlink .config ["settings" ].get ("restfull " , {}).get ("port" , 5000 )
94
+ port = self .lnxlink .config ["settings" ].get ("restful " , {}).get ("port" , 5000 )
95
95
waitress .serve (app , host = "0.0.0.0" , port = port )
You can’t perform that action at this time.
0 commit comments