Merge branch 'main' into logs

This commit is contained in:
Bluub
2023-09-21 00:35:37 +02:00
committed by GitHub
175 changed files with 19725 additions and 8541 deletions

View File

@@ -82,6 +82,8 @@ class Scorometer:
def __init__(self, mode: int, midiFile: str, song_id: int, user_id: int) -> None:
self.partition: Partition = getPartition(midiFile)
self.practice_partition: list[list[Key]] = self.getPracticePartition(mode)
# the log generated is so long that it's longer than the stderr buffer resulting in a crash
# logging.debug({"partition": self.partition.notes})
self.keys_down = []
self.mode: int = mode
self.song_id: int = song_id