psss on blank addresse
This commit is contained in:
		
							parent
							
								
									c18ba0ec69
								
							
						
					
					
						commit
						30eb140b03
					
				| @ -39,7 +39,9 @@ def aprs_filter(packet): | ||||
|         #print(aprslib.parse(packet)) | ||||
|         recipient = re.sub('-.*','', aprslib.parse(packet)['addresse']) | ||||
|         recipient_ssid = re.sub('.*-','', aprslib.parse(packet)['addresse']) | ||||
| 
 | ||||
|         if recipient == '': | ||||
|             pass | ||||
|         elif: | ||||
|             for i in user_settings.items(): | ||||
|                 ssid = i[1][1]['ssid'] | ||||
|                 if i[1][1]['ssid'] == '': | ||||
| @ -51,6 +53,7 @@ def aprs_filter(packet): | ||||
|                         AIS.sendall(aprslib.parse(packet)['addresse'] + '>APHBL3,TCPIP*:' + ':' + aprslib.parse(packet)['from'].ljust(9) +':ack'+aprslib.parse(packet)['msgNo']) | ||||
|                         print('Send ACK') | ||||
|                         print(aprslib.parse(packet)['addresse'] + '>APHBL3,TCPIP*:' + ':' + aprslib.parse(packet)['from'].ljust(9) +':ack'+aprslib.parse(packet)['msgNo']) | ||||
| 
 | ||||
| ##    else: | ||||
| ##        print(aprslib.parse(packet)['from']) | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user