@@ -567,7 +567,7 @@ async def arm_disarm(self):
567567                    raise  ActionServerError (result , "arm_disarm()" )
568568
569569                if  result .result  ==  ActionServerResult .Result .SUCCESS :
570-                     arm_disarm_stream .cancel ()
570+                     arm_disarm_stream .cancel (); 
571571                    return 
572572
573573
@@ -606,7 +606,7 @@ async def flight_mode_change(self):
606606                    raise  ActionServerError (result , "flight_mode_change()" )
607607
608608                if  result .result  ==  ActionServerResult .Result .SUCCESS :
609-                     flight_mode_change_stream .cancel ()
609+                     flight_mode_change_stream .cancel (); 
610610                    return 
611611
612612
@@ -645,7 +645,7 @@ async def takeoff(self):
645645                    raise  ActionServerError (result , "takeoff()" )
646646
647647                if  result .result  ==  ActionServerResult .Result .SUCCESS :
648-                     takeoff_stream .cancel ()
648+                     takeoff_stream .cancel (); 
649649                    return 
650650
651651
@@ -684,7 +684,7 @@ async def land(self):
684684                    raise  ActionServerError (result , "land()" )
685685
686686                if  result .result  ==  ActionServerResult .Result .SUCCESS :
687-                     land_stream .cancel ()
687+                     land_stream .cancel (); 
688688                    return 
689689
690690
@@ -723,7 +723,7 @@ async def reboot(self):
723723                    raise  ActionServerError (result , "reboot()" )
724724
725725                if  result .result  ==  ActionServerResult .Result .SUCCESS :
726-                     reboot_stream .cancel ()
726+                     reboot_stream .cancel (); 
727727                    return 
728728
729729
@@ -762,7 +762,7 @@ async def shutdown(self):
762762                    raise  ActionServerError (result , "shutdown()" )
763763
764764                if  result .result  ==  ActionServerResult .Result .SUCCESS :
765-                     shutdown_stream .cancel ()
765+                     shutdown_stream .cancel (); 
766766                    return 
767767
768768
@@ -801,7 +801,7 @@ async def terminate(self):
801801                    raise  ActionServerError (result , "terminate()" )
802802
803803                if  result .result  ==  ActionServerResult .Result .SUCCESS :
804-                     terminate_stream .cancel ()
804+                     terminate_stream .cancel (); 
805805                    return 
806806
807807
0 commit comments