1
0
mirror of https://github.com/craigerl/aprsd.git synced 2024-11-17 22:01:49 -05:00

Fixed issue with flask config

Flask was trying to serialize the UserDict object.  Use the
data (dict) inside of it instead.
This commit is contained in:
Hemna 2021-10-06 15:17:09 -04:00
parent 30671cbdbc
commit f8d87d05bb

View File

@ -340,7 +340,7 @@ class APRSDFlask(flask_classful.FlaskView):
aprs_connection=aprs_connection, aprs_connection=aprs_connection,
callsign=self.config["aprs"]["login"], callsign=self.config["aprs"]["login"],
version=aprsd.__version__, version=aprsd.__version__,
config_json=json.dumps(self.config), config_json=json.dumps(self.config.data),
watch_count=watch_count, watch_count=watch_count,
watch_age=watch_age, watch_age=watch_age,
plugin_count=plugin_count, plugin_count=plugin_count,