summaryrefslogtreecommitdiff
path: root/realtime
diff options
context:
space:
mode:
Diffstat (limited to 'realtime')
-rw-r--r--realtime/rt/decoder.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/realtime/rt/decoder.py b/realtime/rt/decoder.py
index 15f7db3f..1cee4610 100644
--- a/realtime/rt/decoder.py
+++ b/realtime/rt/decoder.py
@@ -63,6 +63,7 @@ class MIRADecoder(Decoder):
self.decoder.stdin.write('WEIGHTS ||| {}\n'.format(w_line))
self.lock.release()
except:
+ self.lock.release()
raise Exception('Invalid weights line: {}'.format(w_line))