Skip to content

Commit e8c1ed8

Browse files
PannapatCPannapatC
authored andcommitted
fix style
1 parent 8b94d7a commit e8c1ed8

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

examples/rtk_base_ublox.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,11 @@ async def send_rtcm(drone):
136136
if rtcm_correction_data is None:
137137
continue
138138

139-
# Convert the rtcm data from a bytearray to a base64.
140-
# In MAVSDK v3 the rtcm data is expected to be base64 encoded string .
141-
base64_rtcm_data = base64.b64encode(rtcm_correction_data).decode('utf-8')
139+
# Convert the rtcm data to a base64,
140+
# In MAVSDK v3 the rtcm data is expected
141+
# to be base64 encoded string .
142+
base64_rtcm_data = base64.b64encode(
143+
rtcm_correction_data).decode('utf-8')
142144

143145
# Send RTCM
144146
await drone.rtk.send_rtcm_data(

0 commit comments

Comments
 (0)