Skip to content

Commit

Permalink
Merge pull request #721 from brightics/power4454-patch-1
Browse files Browse the repository at this point in the history
Update brightics_python_runner.py
  • Loading branch information
power4454 committed Dec 30, 2019
2 parents 96cdd1a + 74d5f0a commit f5b0036
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion function/python/brightics/brightics_python_runner.py
Expand Up @@ -114,7 +114,7 @@ def _executer(self):
def_code = []
other_code = []
for i in code_tree.body:
if isinstance(i, ast.FunctionDef) or isinstance(i, ast.ClassDef) or isinstance(i, ast.Import) or isinstance(i, ast.ImportFrom):
if isinstance(i, ast.FunctionDef) or isinstance(i, ast.ClassDef) or isinstance(i, ast.Import):
def_code.append(i)
else:
other_code.append(i)
Expand Down

0 comments on commit f5b0036

Please sign in to comment.