Skip to content

Commit

Permalink
Merge pull request #16 from JdeRobot/issue-15
Browse files Browse the repository at this point in the history
Linter launch command fix
  • Loading branch information
ReyDoran authored May 10, 2023
2 parents f242d34 + 297109b commit b78d277
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manager/manager/lint/linter.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def evaluate_code(self, code, warnings=False):

open("user_code.py", "r")

command = "export PYTHONPATH=$PYTHONPATH:/$EXERCISE_FOLDER/python_template/ros1_noetic; python3 RoboticsAcademy/src/manager/manager/lint/pylint_checker.py" ret = subprocess.run(command, capture_output=True, shell=True)
command = "export PYTHONPATH=$PYTHONPATH:/$EXERCISE_FOLDER/python_template/ros1_noetic; python3 RoboticsAcademy/src/manager/manager/lint/pylint_checker.py"
ret = subprocess.run(command, capture_output=True, shell=True)
result = ret.stdout.decode()
result = result + "\n"
Expand Down

0 comments on commit b78d277

Please sign in to comment.