Changeset - 732de39fb3cc
[Not reviewed]
default
0 1 0
Dennis Fink - 10 years ago 2015-07-08 22:24:02

pep8 state.py
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
spaceapi/state.py
Show inline comments
 
@@ -13,12 +13,13 @@ ALLOWED_STATE_KEYS = {
 
    'open': bool,
 
    'lastchange': int,
 
    'trigger_person': str,
 
    'message': str
 
}
 

	
 

	
 
@state_views.route('/set/<key>', methods=['POST'])
 
@httpauth.login_required
 
def set_state(key):
 

	
 
    value = json.loads(request.data.decode('utf-8'))['value']
 
    current_app.logger.info(value)
0 comments (0 inline, 0 general)