Skip to content

Commit

Permalink
Merge pull request #197 from derekhiggins/format-logging
Browse files Browse the repository at this point in the history
Fix logging string formatting
  • Loading branch information
markmc authored Jul 24, 2024
2 parents d700981 + b8c3b7a commit d5b9c31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/instructlab/sdg/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ def _get_batch_indices(self, batch_index: int, total_size: int) -> Iterable[int]

def _lookup_block_type(block_type):
if not block_type in _block_types:
raise PipelineConfigParserError("Unknown block type {block_type}")
raise PipelineConfigParserError(f"Unknown block type {block_type}")
return _block_types[block_type]


Expand Down

0 comments on commit d5b9c31

Please sign in to comment.