From 6d96b3fdffc795c9e098f92696b5d744749da7bc Mon Sep 17 00:00:00 2001 From: DataGreed Date: Tue, 5 Apr 2022 22:00:41 +0100 Subject: [PATCH] Update project.py --- polytrackermidi/parsers/project.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/polytrackermidi/parsers/project.py b/polytrackermidi/parsers/project.py index cb491e2..d39c8e8 100644 --- a/polytrackermidi/parsers/project.py +++ b/polytrackermidi/parsers/project.py @@ -189,6 +189,8 @@ def parse(self) -> Project: # 255 patterns, how pattern 100 file will be named if # there is only 1 leading zero in one digit projects? + # answer: it looks like that: pattern_255.mtp + pattern_number_string = str(i) if len(pattern_number_string) < 2: pattern_number_string = "0" + pattern_number_string