Skip to content

Commit

Permalink
fix again
Browse files Browse the repository at this point in the history
  • Loading branch information
CTY-git committed Aug 24, 2024
1 parent ed5734b commit 067656b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions patchwork/steps/ModifyCodePB/ModifyCodePB.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ class ModifyCodePB(Step, input_class=ModifyCodePBInputs, output_class=ModifyCode
def __init__(self, inputs: dict):
super().__init__(inputs)
self.file_path = inputs["file_path"]
self.start_line = inputs["start_line"]
self.end_line = inputs["end_line"]
self.start_line = inputs.get("start_line")
self.end_line = inputs.get("end_line")
self.patch = inputs["new_code"]

def run(self) -> dict:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "patchwork-cli"
version = "0.0.51"
version = "0.0.52.dev0"
description = ""
authors = ["patched.codes"]
license = "AGPL"
Expand Down

0 comments on commit 067656b

Please sign in to comment.