Skip to content

Commit

Permalink
Fix return value of TagBuilder.with_component
Browse files Browse the repository at this point in the history
  • Loading branch information
opcode81 committed Dec 12, 2023
1 parent 5ef97b8 commit 9b1e86d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## Next Release

### Fixes

* `TagBuilder`: Fix return value of `with_component`

## v1.0.0 (2023-12-06)

### Improvements/Changes
Expand Down
1 change: 1 addition & 0 deletions src/sensai/util/string.py
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,7 @@ def __init__(self, *initial_components: str, glue="_"):

def with_component(self, component: str):
self.components.append(component)
return self

def with_conditional(self, cond: bool, component: str):
"""
Expand Down

0 comments on commit 9b1e86d

Please sign in to comment.