mirror of
https://amiok.net/gitea/W1CDN/aprs_tool.git
synced 2025-07-18 02:00:27 +00:00
Move tuple of frame table fields to a separate files in case we need it more places.
This commit is contained in:
@ -6,54 +6,6 @@ import json
|
||||
import aprslib
|
||||
import configparser
|
||||
|
||||
db_fields = ("id",
|
||||
"addresse",
|
||||
"alive",
|
||||
"altitude",
|
||||
"comment",
|
||||
"course",
|
||||
"created",
|
||||
"format",
|
||||
"frame",
|
||||
"from",
|
||||
"gpsfixstatus",
|
||||
"latitude",
|
||||
"longitude",
|
||||
"mbits",
|
||||
"messagecapable",
|
||||
"message_text",
|
||||
"msgNo",
|
||||
"mtype",
|
||||
"object_format",
|
||||
"object_name",
|
||||
"path",
|
||||
"phg",
|
||||
"phg_dir",
|
||||
"phg_gain",
|
||||
"phg_height",
|
||||
"phg_power",
|
||||
"phg_range",
|
||||
"posambiguity",
|
||||
"raw",
|
||||
"raw_timestamp",
|
||||
"speed",
|
||||
"station_call",
|
||||
"station_lat",
|
||||
"station_lon",
|
||||
"status",
|
||||
"subpacket",
|
||||
"symbol",
|
||||
"symbol_table",
|
||||
"telemetry",
|
||||
"timestamp",
|
||||
"to",
|
||||
"tEQNS",
|
||||
"tPARM",
|
||||
"tUNIT",
|
||||
"via",
|
||||
"weather",
|
||||
"wx_raw_timestamp")
|
||||
|
||||
def read_config():
|
||||
config = configparser.ConfigParser()
|
||||
config.read('config.ini')
|
||||
|
Reference in New Issue
Block a user