From 38f9f44cdfed2d7f981206820f1a4139a7b0f675 Mon Sep 17 00:00:00 2001 From: Blake Harnden <32446120+bharnden@users.noreply.github.com> Date: Sun, 22 Mar 2020 21:15:11 -0700 Subject: [PATCH] fixed type hinting and bad return value --- daemon/core/location/mobility.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/daemon/core/location/mobility.py b/daemon/core/location/mobility.py index e4fc8658..06a78307 100644 --- a/daemon/core/location/mobility.py +++ b/daemon/core/location/mobility.py @@ -474,7 +474,6 @@ class BasicRangeModel(WirelessModel): """ self.values_from_config(config) self.setlinkparams() - return True def create_link_data( self, @@ -790,7 +789,7 @@ class WayPointMobility(WirelessModel): """ self.queue_copy = list(self.queue) - def loopwaypoints(self) -> None: + def loopwaypoints(self) -> bool: """ Restore backup copy of waypoints when looping.