Skip to content

Commit

Permalink
v0.1.4
Browse files Browse the repository at this point in the history
Improvments of utils.join_url() function
  • Loading branch information
docentYT committed Mar 4, 2023
1 parent fb5c57b commit 985ab54
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/osm_easy_api/__init__.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 1 addition & 4 deletions src/osm_easy_api/utils/join_url.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
return "/".join(map(str, args))

0 comments on commit 985ab54

Please sign in to comment.