Skip to content
This repository was archived by the owner on Aug 15, 2019. It is now read-only.

Commit 44357f4

Browse files
committed
Pass self to power board functions
1 parent a013a45 commit 44357f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

robot/power.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ class PowerBoard:
22
def __init__(self, serial):
33
self.serial = serial
44

5-
def power_on():
5+
def power_on(self):
66
print("Powering on outputs on board {}.".format(self.serial))
77

8-
def power_off():
8+
def power_off(self):
99
print("Powering off outputs on board {}.".format(self.serial))

0 commit comments

Comments
 (0)