diff --git a/CHANGELOG.md b/CHANGELOG.md index 7881d43..adcea4c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,9 +5,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [Unreleased] +## [0.1.4] - 2023-03-05 ### Fixed +- Improvement of utils.join_url() function. - Spelling errors corrected [@matkoniecz](https://github.com/matkoniecz) ## [0.1.3] - 2023-03-03 diff --git a/src/osm_easy_api/__init__.py b/src/osm_easy_api/__init__.py index 6920164..726d64c 100644 --- a/src/osm_easy_api/__init__.py +++ b/src/osm_easy_api/__init__.py @@ -1,4 +1,4 @@ -VERSION = "0.1.3" +VERSION = "0.1.4" from .data_classes import Node, Way, Relation, OsmChange, Action, Tags from .diff import Diff, Frequency diff --git a/src/osm_easy_api/utils/join_url.py b/src/osm_easy_api/utils/join_url.py index 680dbf5..796144e 100644 --- a/src/osm_easy_api/utils/join_url.py +++ b/src/osm_easy_api/utils/join_url.py @@ -4,7 +4,4 @@ def join_url(*args) -> str: Returns: str: url (without anything in front of) """ - temp = "" - for i in args: temp = temp + '/' + str(i) - temp = temp[1:] - return temp \ No newline at end of file + return "/".join(map(str, args)) \ No newline at end of file