goodmap 0.4.2__py3-none-any.whl → 0.4.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
goodmap/core_api.py
CHANGED
|
@@ -72,8 +72,9 @@ def core_pages(
|
|
|
72
72
|
)
|
|
73
73
|
notifier_function(message)
|
|
74
74
|
except Exception as e:
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
error_message = gettext("Error sending notification")
|
|
76
|
+
return make_response(jsonify({"message": f"{error_message} : {e}"}), 400)
|
|
77
|
+
return make_response(jsonify({"message": gettext("Location reported")}), 200)
|
|
77
78
|
|
|
78
79
|
@core_api.route("/data")
|
|
79
80
|
class Data(Resource):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
goodmap/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
2
2
|
goodmap/core.py,sha256=hOTHrDRzbqkfSeKAoD01lzSoY4W8JwupXlJTwTzcvAU,586
|
|
3
|
-
goodmap/core_api.py,sha256=
|
|
3
|
+
goodmap/core_api.py,sha256=wy861bym-OtJV_y65TNJNr_hxUW45bUK0j2Vt96HG1s,6544
|
|
4
4
|
goodmap/data_models/location.py,sha256=ESR4Z_zINIjldJKhlXImMaQrdtUPJBQc6SatpPPJyNQ,1054
|
|
5
5
|
goodmap/data_validator.py,sha256=e_PCc2CTgiEBK6inF_HDX5mb5R8poh3KkcbhyrLrFVA,4086
|
|
6
6
|
goodmap/db.py,sha256=AJHUP3n29BRjgt6GoGnPtxLNg5TL-KSJhtSZtsZKmGM,3665
|
|
@@ -8,7 +8,7 @@ goodmap/formatter.py,sha256=VlUHcK1HtM_IEU0VE3S5TOkZLVheMdakvUeW2tCKdq0,783
|
|
|
8
8
|
goodmap/goodmap.py,sha256=cPTTyGqajuza3RDlfFuCl8idxy7TFo6LPuANP8hmg7U,1806
|
|
9
9
|
goodmap/templates/admin.html,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
10
10
|
goodmap/templates/map.html,sha256=eU_h61l404g8e3_wszUokDrOC92bQ1nFl8yGMKRXFww,3820
|
|
11
|
-
goodmap-0.4.
|
|
12
|
-
goodmap-0.4.
|
|
13
|
-
goodmap-0.4.
|
|
14
|
-
goodmap-0.4.
|
|
11
|
+
goodmap-0.4.3.dist-info/LICENSE.md,sha256=nkCQOR7uheLRvHRfXmwx9LhBnMcPeBU9d4ebLojDiQU,1067
|
|
12
|
+
goodmap-0.4.3.dist-info/METADATA,sha256=nvPI8Jtcm5s-KrGCABgU5OKgYEui4gjC5B-MKgg26tU,4525
|
|
13
|
+
goodmap-0.4.3.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
|
14
|
+
goodmap-0.4.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|