Fix error that stopped paths from being created

In graph edit you'd get a truth statement ambiguous
use .any() or .all() error, its also needed to check for
a None value because None can't have .any() or .all() so
it would error.

Signed-off-by: Maxwell Henderson <mxwhenderson@gmail.com>
Change-Id: I87287189f40c5983a1ef1ce8df73ccc1442e80c0
diff --git a/y2023/control_loops/python/graph_edit.py b/y2023/control_loops/python/graph_edit.py
index 39cd814..c104808 100644
--- a/y2023/control_loops/python/graph_edit.py
+++ b/y2023/control_loops/python/graph_edit.py
@@ -366,7 +366,8 @@
 
     # Current segment based on which mode the drawing system is in.
     def current_seg(self):
-        if self.prev_segment_pt and self.now_segment_pt:
+        if self.prev_segment_pt is not None and (self.prev_segment_pt.any() and
+                                                 self.now_segment_pt.any()):
             if self.theta_version:
                 return AngleSegment(self.prev_segment_pt, self.now_segment_pt)
             else: