Skip to content
Snippets Groups Projects
Commit be69706a authored by Jeffrey Phillips Freeman's avatar Jeffrey Phillips Freeman :boom:
Browse files

Merge branch 'aprsis'

parents f081ca23 40cd278a
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,7 @@ Changelog
* Changed the APRS-IS config section to be named IGATE instead.
* Output now displays IGATE as the source/destination instead of APRS-IS.
* Made IGATE a reserved name in the configuration, it cannot be used for a TNC name.
0.0.4
-----
......
......@@ -102,7 +102,10 @@ def configure(configfile, verbose=False):
return
for section in config.sections():
if section.startswith("TNC "):
tnc_name = section.split(" ")[1]
tnc_name = section.strip().split(" ")[1].strip()
if tnc_name is 'IGATE':
echo_colorized_error('IGATE was used as the name for a TNC in the configuration, this name is reserved')
return
if config.has_option(section, 'com_port') and config.has_option(section, 'baud'):
com_port = config.get(section, 'com_port')
baud = config.get(section, 'baud')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment