Skip to content

Commit 1abef52

Browse files
committed
Fix incorrect variable reference in send_file_for_docstring_generation call
1 parent c351c62 commit 1abef52

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

penify_hook/file_analyzer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def process_file(self, file_path, pbar):
6666
# --- STAGE 3: Documenting ---
6767
update_stage(pbar, "Documenting")
6868

69-
response = self.api_client.send_file_for_docstring_generation(file_path, content, modified_lines, self.repo_details)
69+
response = self.api_client.send_file_for_docstring_generation(self.relative_file_path, content, modified_lines, self.repo_details)
7070

7171
if response is None:
7272
return False

0 commit comments

Comments
 (0)