Skip to content

Commit 08ae658

Browse files
committed
Add logging
1 parent 289349c commit 08ae658

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

web_server/main.py

100644100755
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,12 @@ def send_telecommand_request():
2121
telecommand_data_type = body['telecommand_data_type']
2222
is_continuous = body['is_continuous']
2323

24+
print('============mercury py==============')
2425
print('TC: {}'.format(telecommand_number))
2526
print('Data: {}'.format(telecommand_data))
2627
print('DataType: {}'.format(telecommand_data_type))
2728
print('Is continuous: {}'.format(is_continuous))
28-
29+
print('==========================')
2930
# TODO: Talk to Jamie about connecting this to the right functions.
3031

3132
return 'OK'
@@ -36,9 +37,10 @@ def send_telemetry_request():
3637
tlm_channel = body['tlm_channel']
3738
is_continuous = body['is_continuous']
3839

40+
print('============mercury py==============')
3941
print('Channel: {}'.format(tlm_channel))
4042
print('Is continuous: {}'.format(is_continuous))
41-
43+
print('==========================')
4244
# TODO: Talk to Jamie about connecting this to the right functions.
4345

4446
return 'OK'

0 commit comments

Comments
 (0)