Compare commits
1 Commits
master
...
no_verific
Author | SHA1 | Date | |
---|---|---|---|
|
05d0ff0576 |
@ -891,8 +891,6 @@ class Stc12BaseProtocol(StcBaseProtocol):
|
|||||||
response = self.read_packet()
|
response = self.read_packet()
|
||||||
if response[0] != 0x00:
|
if response[0] != 0x00:
|
||||||
raise StcProtocolException("incorrect magic in write packet")
|
raise StcProtocolException("incorrect magic in write packet")
|
||||||
elif response[1] != csum:
|
|
||||||
raise StcProtocolException("verification checksum mismatch")
|
|
||||||
print(".", end="")
|
print(".", end="")
|
||||||
sys.stdout.flush()
|
sys.stdout.flush()
|
||||||
print(" done")
|
print(" done")
|
||||||
|
Loading…
Reference in New Issue
Block a user