Skip to content

Commit

Permalink
fix: should be rstrip only
Browse files Browse the repository at this point in the history
  • Loading branch information
itsjoeoui committed Dec 4, 2023
1 parent 7b57983 commit a0707f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion captain/utils/blocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def import_blocks(blocks_dir: str) -> Mapping[BlockType, Callable]:
if not file.endswith(".py"):
continue

block_name = file.strip(".py")
block_name = file.rstrip(".py")

block_path = os.path.join(root, file)

Expand Down

0 comments on commit a0707f0

Please sign in to comment.