Changeset - 8ae598558bf8
[Not reviewed]
version_5
0 1 0
Dennis Fink - 9 years ago 2015-10-14 00:57:14
dennis.fink@c3l.lu
PEP8 api/model.py
1 file changed with 4 insertions and 1 deletions:
0 comments (0 inline, 0 general)
ennstatus/api/model.py
Show inline comments
 
@@ -72,7 +72,10 @@ class ServerDecoder(json.JSONDecoder):
 

	
 
        for key in ('ip', 'ip6'):
 
            if key in default_obj:
 
                current_app.logger.debug('{}: {}'.format(key, default_obj[key]))
 
                current_app.logger.debug('{}: {}'.format(
 
                    key, default_obj[key]
 
                )
 
                )
 
                default_obj[key] = ipaddress.ip_address(default_obj[key])
 

	
 
        current_app.logger.debug('Loading last_updated')
0 comments (0 inline, 0 general)