Fix formatting
This commit is contained in:
parent
989f023f26
commit
3a28472640
1 changed files with 3 additions and 3 deletions
|
@ -64,13 +64,13 @@ try:
|
|||
error += ': STOP_BYTE_ERROR'
|
||||
else:
|
||||
print('Error: {}'.format(link.status))
|
||||
|
||||
|
||||
link.close()
|
||||
|
||||
except KeyboardInterrupt:
|
||||
try:
|
||||
link.close()
|
||||
|
||||
|
||||
except:
|
||||
pass
|
||||
|
||||
|
@ -81,6 +81,6 @@ except:
|
|||
|
||||
try:
|
||||
link.close()
|
||||
|
||||
|
||||
except:
|
||||
pass
|
||||
|
|
Loading…
Reference in a new issue