Skip to content

Commit

Permalink
Fix error: cannot be converted to 'PyString' (#974)
Browse files Browse the repository at this point in the history
* Fix error: cannot be converted to 'PyString'

* Just update to fix TypeError 'PyString'

Co-authored-by: davfsa <[email protected]>

Co-authored-by: HazemMeqdad <[email protected]>
Co-authored-by: davfsa <[email protected]>
  • Loading branch information
3 people authored Jan 22, 2022
1 parent 45a2dcb commit 965d6e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/simple_dashboard/simple_dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def __init__(self, **kwargs: Any) -> None:
bot = Bot(token=os.environ["BOT_TOKEN"])


values = list(range(0, 256 + 1, 32))
values = [str(i) for i in range(0, 256 + 1, 32)]

selector = rr_prime.Selector(f"{PACKAGE}.{DASHBOARD}.{GROUP_CONFIG}.Selector", label="Choose!", options=values)
slider = rr_prime.Slider(
Expand Down

0 comments on commit 965d6e8

Please sign in to comment.