From 24dca2e6ad167daee074fb985b5a15d541f1c8ea Mon Sep 17 00:00:00 2001
From: n0mjs710 <n0mjs@me.com>
Date: Wed, 18 Mar 2020 09:32:32 -0500
Subject: [PATCH] Fixed assignment typos

[_stream_id]['ACTIVE']: False
to
[_stream_id]['ACTIVE'] = False

Thanks, Steve!
---
 bridge.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/bridge.py b/bridge.py
index e1ef54b..9294f14 100755
--- a/bridge.py
+++ b/bridge.py
@@ -418,7 +418,7 @@ class routerOBP(OPENBRIDGE):
                     self._system, int_id(_stream_id), get_alias(_rf_src, subscriber_ids), int_id(_rf_src), get_alias(_peer_id, peer_ids), int_id(_peer_id), get_alias(_dst_id, talkgroup_ids), int_id(_dst_id), _slot, call_duration)
             if CONFIG['REPORTS']['REPORT']:
                self._report.send_bridgeEvent('GROUP VOICE,END,RX,{},{},{},{},{},{},{:.2f}'.format(self._system, int_id(_stream_id), int_id(_peer_id), int_id(_rf_src), _slot, int_id(_dst_id), call_duration).encode(encoding='utf-8', errors='ignore'))
-            self.STATUS[_stream_id]['ACTIVE']: False
+            self.STATUS[_stream_id]['ACTIVE'] = False
             logger.debug('(%s) OpenBridge sourced call stream end, remove terminated Stream ID: %s', self._system, int_id(_stream_id))
 
 
@@ -494,7 +494,7 @@ class routerOBP(OPENBRIDGE):
                     _data = b''.join([_tmp_data, dmrpkt])
                 
                 if (_frame_type == HBPF_DATA_SYNC) and (_dtype_vseq == HBPF_SLT_VTERM):
-                    _target_status[_stream_id]['ACTIVE']: False
+                    _target_status[_stream_id]['ACTIVE'] = False
 
             else:
                 # BEGIN STANDARD CONTENTION HANDLING
@@ -731,7 +731,7 @@ class routerHBP(HBSYSTEM):
                                         dmrbits = _target_status[_stream_id]['T_LC'][0:98] + dmrbits[98:166] + _target_status[_stream_id]['T_LC'][98:197]
                                         if CONFIG['REPORTS']['REPORT']:
                                             call_duration = pkt_time - _target_status[_stream_id]['START']
-                                            _target_status[_stream_id]['ACTIVE']: False
+                                            _target_status[_stream_id]['ACTIVE'] = False
                                             systems[_target['SYSTEM']]._report.send_bridgeEvent('GROUP VOICE,END,TX,{},{},{},{},{},{},{:.2f}'.format(_target['SYSTEM'], int_id(_stream_id), int_id(_peer_id), int_id(_rf_src), _target['TS'], int_id(_target['TGID']), call_duration).encode(encoding='utf-8', errors='ignore'))
                                     # Create a Burst B-E packet (Embedded LC)
                                     elif _dtype_vseq in [1,2,3,4]:
@@ -965,7 +965,7 @@ class routerHBP(HBSYSTEM):
                     _data = b''.join([_tmp_data, dmrpkt])
                 
                 if (_frame_type == HBPF_DATA_SYNC) and (_dtype_vseq == HBPF_SLT_VTERM):
-                    _target_status[_stream_id]['ACTIVE']: False
+                    _target_status[_stream_id]['ACTIVE'] = False
 
             else:
                 # BEGIN STANDARD CONTENTION HANDLING