We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0217fdc + b78dfbe commit 5340dd8Copy full SHA for 5340dd8
1 file changed
embedded/jingles.py
@@ -16,7 +16,7 @@ def boot_sync(self):
16
self.buzzer.off()
17
18
async def play(self, file):
19
- with open(f"aud_jingles/file") as jingle_file:
+ with open(f"aud_jingles/{file}") as jingle_file:
20
self.buzzer.on()
21
for action in jingle_file:
22
action_split = action.split('#', 1)[0].split(' ', 1)
0 commit comments