Commit 4f2d6818 authored by Milosz Malczak's avatar Milosz Malczak

server: fixed typo, move the comment to the beggining of the function

parent 2b7e143f
......@@ -199,6 +199,10 @@ class UserApplication():
return True
def if_ready_send_data(self):
"""
Checks if the data is aligned in time, if there is any sample not
aligned, smaller then the others, it is removed
"""
if not self.__check_if_data_exists():
return
max_timestamp = self.__find_max()
......@@ -207,8 +211,6 @@ class UserApplication():
self.__remove_old_data(max_timestamp)
if not self.__check_if_data_exists():
return
"""Checks if the data is aligned in time, if there is any sample not
aligned, smalles then the others, it is removed"""
data = {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment