← Back to ratslair.com
aboutsummaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'main.py')
-rwxr-xr-xmain.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.py b/main.py
index 06b27cd..01ccc4d 100755
--- a/main.py
+++ b/main.py
@@ -279,7 +279,7 @@ def adjustAngle(adiff, f, b):
print("Adjusting to the left")
NANO.write(b"Left\n")
sleep(abs(adiff) / 90)
- else if b:
+ elif b:
if adiff < -10:
print("Adjusting to the right")
NANO.write(b"Right\n")