Skip to content

Commit 5fa7149

Browse files
Merge pull request #3 from AlexWorland/main
adds address field to demo usage of create_dice function
2 parents e7ba6e3 + a600d1b commit 5fa7149

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def main():
2424

2525
if inp.isdigit():
2626
# Single die
27-
go_dice = create_dice(dice_devices[int(inp)])
27+
go_dice = create_dice(dice_devices[int(inp)].address)
2828
connected_dice.append(go_dice)
2929
else:
3030
# Connect to all available dice

0 commit comments

Comments
 (0)