Added seconds to WS-call to server
Prettyfied according to PEP8