Skip to content

Commit 1aad949

Browse files
Potential fix for pull request finding 'Variable defined multiple times'
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
1 parent 8f66b28 commit 1aad949

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

whatsapp/whatsapp.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,6 @@ async def execute(self, inputs: Dict[str, Any], context: ExecutionContext):
324324
"success": True
325325
})
326326
else:
327-
error_msg = "Unknown error"
328327
if isinstance(response, dict):
329328
error_msg = response.get("error", {}).get("message", "Unknown error")
330329
else:

0 commit comments

Comments
 (0)