Update ambe_bridge.py

Make template.bin not found a fatal error.
This commit is contained in:
MrBungle42 2017-07-13 14:05:20 -04:00 committed by GitHub
parent 302937879e
commit 8dcfb4e015
1 changed files with 1 additions and 1 deletions

View File

@ -636,7 +636,7 @@ class AMBE_IPSC(AMBE_BASE):
_t.close()
except IOError:
self._logger.error('Can not open template.bin file')
return
exit()
self._logger.debug('IPSC templates loaded')
def export_voice(self, _tx_slot, _seq, _ambe):
self.send_tlv(TAG_AMBE_49, struct.pack("b",_tx_slot.slot) + _ambe) # send AMBE