fix letter

This commit is contained in:
j 2024-01-03 09:12:35 +00:00
parent f96c7224a7
commit f6d30d1fc0

View file

@ -123,6 +123,7 @@ if __name__ == '__main__':
pos = 0 pos = 0
lights = [] lights = []
letter_offset = 0 letter_offset = 0
letter = path.split('/')[-1][0].lower()
if config.letter_offset: if config.letter_offset:
letter_offset = 11 + string.ascii_lowercase.index(letter) * 10 letter_offset = 11 + string.ascii_lowercase.index(letter) * 10
while pos < duration - 15: while pos < duration - 15: