Don't get hung up on parsing errors.
This commit is contained in:
		| @ -88,7 +88,10 @@ def main(): | |||||||
|     while True: |     while True: | ||||||
|         conn = get_db_connection() |         conn = get_db_connection() | ||||||
|         for frame in ki.read(min_frames=1): |         for frame in ki.read(min_frames=1): | ||||||
|             a = aprslib.parse(str(frame)) |             try: | ||||||
|  |                 a = aprslib.parse(str(frame)) | ||||||
|  |             except: | ||||||
|  |                 a = dict() | ||||||
|             a['station_call'] = config['Settings']['station_call'] |             a['station_call'] = config['Settings']['station_call'] | ||||||
|             a['station_lat'] = config['Settings']['station_lat'] |             a['station_lat'] = config['Settings']['station_lat'] | ||||||
|             a['station_lon'] = config['Settings']['station_lon'] |             a['station_lon'] = config['Settings']['station_lon'] | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user