Skip to content

Commit

Permalink
remove debug print
Browse files Browse the repository at this point in the history
  • Loading branch information
drunsinn committed Jan 13, 2021
1 parent c37efba commit 446819e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pyLSV2/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -583,12 +583,10 @@ def get_program_stack(self):
if result:
stack_info = dict()
stack_info['Line'] = struct.unpack('!L', result[:4])[0]
print(len(result[4:].split(b'\x00')))
stack_info['Main_PGM'] = result[4:].split(b'\x00')[0].decode().strip('\x00').replace('\\', '/')
stack_info['Current_PGM'] = result[4:].split(b'\x00')[1].decode().strip('\x00').replace('\\', '/')
logging.debug(
'succesfully read active program stack and line number: %s', stack_info)

return stack_info
else:
logging.error(
Expand Down

0 comments on commit 446819e

Please sign in to comment.