diff --git a/src/CubeServer-api/cubeserver_api/_version.py b/src/CubeServer-api/cubeserver_api/_version.py index 64206c4..2382cc1 100644 --- a/src/CubeServer-api/cubeserver_api/_version.py +++ b/src/CubeServer-api/cubeserver_api/_version.py @@ -1 +1 @@ -__version__ = "1.6.7" +__version__ = "1.6.8" diff --git a/src/CubeServer-app/cubeserver_app/_version.py b/src/CubeServer-app/cubeserver_app/_version.py index 64206c4..2382cc1 100644 --- a/src/CubeServer-app/cubeserver_app/_version.py +++ b/src/CubeServer-app/cubeserver_app/_version.py @@ -1 +1 @@ -__version__ = "1.6.7" +__version__ = "1.6.8" diff --git a/src/CubeServer-beaconserver/cubeserver_beaconserver/_version.py b/src/CubeServer-beaconserver/cubeserver_beaconserver/_version.py index 64206c4..2382cc1 100644 --- a/src/CubeServer-beaconserver/cubeserver_beaconserver/_version.py +++ b/src/CubeServer-beaconserver/cubeserver_beaconserver/_version.py @@ -1 +1 @@ -__version__ = "1.6.7" +__version__ = "1.6.8" diff --git a/src/CubeServer-common/cubeserver_common/_version.py b/src/CubeServer-common/cubeserver_common/_version.py index 64206c4..2382cc1 100644 --- a/src/CubeServer-common/cubeserver_common/_version.py +++ b/src/CubeServer-common/cubeserver_common/_version.py @@ -1 +1 @@ -__version__ = "1.6.7" +__version__ = "1.6.8" diff --git a/src/CubeServer-common/cubeserver_common/models/reference.py b/src/CubeServer-common/cubeserver_common/models/reference.py index 260b2e0..9b40343 100644 --- a/src/CubeServer-common/cubeserver_common/models/reference.py +++ b/src/CubeServer-common/cubeserver_common/models/reference.py @@ -130,10 +130,10 @@ def collect_avg(cls) -> ReferencePoint: def get_window_point(cls, window: int) -> ReferencePoint: """Returns the most recent reference point in the db if it falls within the time window of now in seconds""" logging.debug("Getting a reference point within " + str(window) + " seconds...") - most_recent = ReferencePoint.find_most_recent() - logging.debug(most_recent) - elapsed = datetime.now() - most_recent.moment - if elapsed.total_seconds() <= window: - return most_recent + #most_recent = ReferencePoint.find_most_recent() + #logging.debug(most_recent) + #elapsed = datetime.now() - most_recent.moment + #if elapsed.total_seconds() <= window: + # return most_recent return cls.collect(Team.find_references()[0]) # If it's too old, grab a new point diff --git a/tools/version.txt b/tools/version.txt new file mode 100644 index 0000000..c4c86df --- /dev/null +++ b/tools/version.txt @@ -0,0 +1 @@ +1.6.6-dev diff --git a/version.txt b/version.txt index 400084b..d8c5e72 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -1.6.7 +1.6.8