Commit dd72fae2 authored by Lauren Adoram-Kershner's avatar Lauren Adoram-Kershner
Browse files

keypoint returns zero

parent 970cb3e6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -603,7 +603,7 @@ class NetworkNode(Node):
        Get the number of keypoints from the database
        """
        res = self._from_db(Keypoints)
        return res.nkeypoints if res is not None else None
        return res.nkeypoints if res is not None else 0

    def create_camera(self):
        # Create the camera entry