Skip to content

Commit 7111c20

Browse files
committed
app: fix f-string.
1 parent 82d5f30 commit 7111c20

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
66
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) for its CLI (Command-Line Interface), i.e. for the `moulti` command.
77
Although Moulti's Python packages, modules and functions are obviously available, they do not constitute a public API yet.
88

9+
## Unreleased
10+
11+
### Fixed
12+
13+
- Fix rare "unknown action" error message.
14+
915
## [1.34.0] - 2025-03-16
1016

1117
### Changed

src/moulti/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@ def handle_message(self, connection: Socket, raddr: str, message: Message, file_
699699
method_name = f'cli_action_{action.replace("-", "_")}'
700700
method = getattr(step, method_name, False)
701701
if not callable(method):
702-
raise MoultiMessageException('unknown action {action}')
702+
raise MoultiMessageException(f'unknown action {action}')
703703
# Provide the method with helper functions that abstract away app/network-specific stuff:
704704
def reply(**kwargs: Any) -> None:
705705
self.reply(connection, raddr, message, **kwargs)

0 commit comments

Comments
 (0)