Skip to content
This repository was archived by the owner on Dec 23, 2021. It is now read-only.

Commit 52c3350

Browse files
authored
CLUE unimplemented properties print correctly (#324)
1 parent 96aacb9 commit 52c3350

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/clue/adafruit_clue.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ def touch_0(self):
501501
print("Touched pad 0")
502502
"""
503503
telemetry_py.send_telemetry(TelemetryEvent.CLUE_API_TOUCH)
504-
utils.print_for_unimplemented_functions(Clue.touch_0.__name__)
504+
utils.print_for_unimplemented_functions("touch_0")
505505

506506
@property
507507
def touch_1(self):
@@ -519,7 +519,7 @@ def touch_1(self):
519519
print("Touched pad 1")
520520
"""
521521
telemetry_py.send_telemetry(TelemetryEvent.CLUE_API_TOUCH)
522-
utils.print_for_unimplemented_functions(Clue.touch_1.__name__)
522+
utils.print_for_unimplemented_functions("touch_1")
523523

524524
@property
525525
def touch_2(self):
@@ -537,7 +537,7 @@ def touch_2(self):
537537
print("Touched pad 2")
538538
"""
539539
telemetry_py.send_telemetry(TelemetryEvent.CLUE_API_TOUCH)
540-
utils.print_for_unimplemented_functions(Clue.touch_2.__name__)
540+
utils.print_for_unimplemented_functions("touch_2")
541541

542542
@property
543543
def white_leds(self):
@@ -652,7 +652,7 @@ def sound_level(self):
652652
print(clue.sound_level)
653653
"""
654654
telemetry_py.send_telemetry(TelemetryEvent.CLUE_API_SOUND)
655-
utils.print_for_unimplemented_functions(Clue.sound_level.__name__)
655+
utils.print_for_unimplemented_functions("sound_level")
656656

657657
def loud_sound(self, sound_threshold=200):
658658
"""Not Implemented!

0 commit comments

Comments
 (0)