Skip to content

Commit

Permalink
Merge pull request Sinaptik-AI#1 from HenriqueAJNB/Henrique/refactoring
Browse files Browse the repository at this point in the history
fix: disabled pylint warning for generic exception
  • Loading branch information
HenriqueAJNB authored May 4, 2023
2 parents 7662104 + 894f14e commit 153d55c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandasai/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def run_code(
# Evaluate last line and return its value or the captured output
try:
return eval(last_line)
except Exception:
except Exception: # pylint: disable=W0718
return captured_output

def log(self, message: str):
Expand Down

0 comments on commit 153d55c

Please sign in to comment.