ninoguba / ev3-robotic-arm

The basic python program for my LEGO Six Axis Robotic Arm
MIT License
6 stars 6 forks source link

Syntax fix #2

Closed marnovdm closed 3 years ago

marnovdm commented 3 years ago

Hi there,

I'm in the process of getting your awesome ev3 robotic arm to work and found a small syntax error in the code. As far as I know an empty if statement is not valid:

robot@ev3dev:~/ev3robotarm$ cat main.py.err.log File "/home/robot/ev3robotarm/main.py", line 318 if event.type == 1 and event.code == 315 and event.value == 1: #Options ^ IndentationError: expected an indented block

This pull request fixes that issue.

Great work on the MOC!

Kind regards,

Marno

ninoguba commented 3 years ago

Thanks for catching this bug and doing a PR to fix it!

I have removed the code on this block that was for my own tests and I guess forgot about the syntax.