1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

test/sys/progress_bar: fix python (exclusive) range

This commit is contained in:
Mikolai Gütschow 2024-06-26 11:12:36 +02:00
parent e02c953e33
commit e79cb1b6a9
No known key found for this signature in database
GPG Key ID: 943E2F37AA659AD5

View File

@ -18,7 +18,7 @@ EMPTY_CHARACTER = os.getenv('CONFIG_PROGRESS_BAR_EMPTY_CHARACTER')[1:-1]
def testfunc(child):
for i in range(0, 100, 10):
for i in range(0, 101, 10):
ratio = int(i * LENGTH / 100.0)
progress_str = FULL_CHARACTER * ratio
progress_str += EMPTY_CHARACTER * (LENGTH - ratio)