goodmap 0.4.2__tar.gz → 0.4.3__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: goodmap
3
- Version: 0.4.2
3
+ Version: 0.4.3
4
4
  Summary: Map engine to serve all the people :)
5
5
  Author: Krzysztof Kolodzinski
6
6
  Author-email: krzysztof.kolodzinski@problematy.pl
@@ -72,8 +72,9 @@ def core_pages(
72
72
  )
73
73
  notifier_function(message)
74
74
  except Exception as e:
75
- return make_response(jsonify({"message": f"Error sending notification : {e}"}), 400)
76
- return make_response(jsonify({"message": "Location reported"}), 200)
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
  [tool.poetry]
2
2
  name = "goodmap"
3
- version = "0.4.2"
3
+ version = "0.4.3"
4
4
  description = "Map engine to serve all the people :)"
5
5
  authors = ["Krzysztof Kolodzinski <krzysztof.kolodzinski@problematy.pl>"]
6
6
  readme = "README.md"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes