Skip to content

Commit

Permalink
fix: remove no need print
Browse files Browse the repository at this point in the history
  • Loading branch information
yiweisong committed Nov 8, 2021
1 parent 3fd83cb commit a544ed9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/aceinna/devices/widgets/ntrip_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ def recv(self):

def recvResponse(self):
self.tcp_client_socket.settimeout(3)
data = ''
while True:
try:
data = self.tcp_client_socket.recv(1024)
Expand All @@ -159,7 +158,6 @@ def recvResponse(self):
return data
except Exception as e:
print('NTRIP:[recvR] error occur {0}'.format(e))
print('NTRIP:[recvR] data:{0}'.format(data))
APP_CONTEXT.get_print_logger().info(
'NTRIP:[recvR] error occur {0}'.format(e))
return None
Expand Down

0 comments on commit a544ed9

Please sign in to comment.