Missing import for bytes_4
This commit is contained in:
		
							parent
							
								
									0fa46e666f
								
							
						
					
					
						commit
						18cf1203e0
					
				| @ -1254,18 +1254,7 @@ class routerOBP(OPENBRIDGE): | |||||||
|             else: |             else: | ||||||
|                  |                  | ||||||
|                # Loop Control |                # Loop Control | ||||||
|                 | 
 | ||||||
|                 #if 'LOOPHOLD' in self.STATUS[_stream_id]: |  | ||||||
|                     #if self.STATUS[_stream_id]['LOOPHOLD'] < 5: |  | ||||||
|                         #logger.debug ('(%s) Avoid packet due to loophold: %s',self._system,self.STATUS[_stream_id]['LOOPHOLD']) |  | ||||||
|                         #self.STATUS[_stream_id]['LOOPHOLD'] = self.STATUS[_stream_id]['LOOPHOLD'] + 1 |  | ||||||
|                     #else: |  | ||||||
|                         #try: |  | ||||||
|                             #self.STATUS.pop('LOOPHOLD') |  | ||||||
|                         #except: |  | ||||||
|                         #pass |  | ||||||
|                     #return |  | ||||||
|                 |  | ||||||
|                 for system in systems:                             |                 for system in systems:                             | ||||||
|                     if system  == self._system: |                     if system  == self._system: | ||||||
|                         continue |                         continue | ||||||
|  | |||||||
| @ -32,7 +32,7 @@ from twisted.internet import reactor, task | |||||||
| 
 | 
 | ||||||
| # Things we import from the main hblink module | # Things we import from the main hblink module | ||||||
| from hblink import HBSYSTEM, systems, hblink_handler, reportFactory, REPORT_OPCODES, config_reports, mk_aliases | from hblink import HBSYSTEM, systems, hblink_handler, reportFactory, REPORT_OPCODES, config_reports, mk_aliases | ||||||
| from dmr_utils3.utils import bytes_3, int_id, get_alias | from dmr_utils3.utils import bytes_3, bytes_4, int_id, get_alias | ||||||
| from dmr_utils3 import decode, bptc, const | from dmr_utils3 import decode, bptc, const | ||||||
| import config | import config | ||||||
| import log | import log | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user