Skip to content

Commit

Permalink
fixed PEP8 formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mjmucha committed Apr 29, 2024
1 parent 506d8c0 commit 47a93cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion basil/HL/SentioProber.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def get_die(self):
reply = self._intf.query("map:die:get_current_index").strip()
if reply == '0:' or reply == '':
reply = self._intf.query("map:die:get_current_index")

values = reply[2:].split(',')

return (int(values[0]), int(values[1]))
Expand Down
4 changes: 2 additions & 2 deletions basil/HL/SignatoneProber.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ def get_die(self):
reply = self._intf.query('GETCR')
else:
break

reply = re.sub(r'[a-zA-Z]', r'', reply)
values = reply.split(',')

return (int(values[0]), int(values[1]))

def contact(self):
Expand Down

0 comments on commit 47a93cb

Please sign in to comment.