From 47a93cb1721701065b113d8de1bcdca169085f2b Mon Sep 17 00:00:00 2001 From: Maximilian Mucha Date: Mon, 29 Apr 2024 13:58:05 +0200 Subject: [PATCH] fixed PEP8 formatting --- basil/HL/SentioProber.py | 2 +- basil/HL/SignatoneProber.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/basil/HL/SentioProber.py b/basil/HL/SentioProber.py index 300ef80d..752e8447 100644 --- a/basil/HL/SentioProber.py +++ b/basil/HL/SentioProber.py @@ -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])) diff --git a/basil/HL/SignatoneProber.py b/basil/HL/SignatoneProber.py index e4b455e8..e93b8b02 100644 --- a/basil/HL/SignatoneProber.py +++ b/basil/HL/SignatoneProber.py @@ -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):