default name for a track is now a single space, nothing would be replaced by the sha1

This commit is contained in:
Faraphel 2022-01-17 12:26:40 +01:00
parent d3673fb64d
commit 98a0aed807
2 changed files with 1 additions and 2 deletions

View file

@ -105,7 +105,6 @@
"tag_retro": "Retro",
"default_track":
{
"name":"",
"music":"T32",
"special":"T32",
"author":"MrFluffy",

View file

@ -23,7 +23,7 @@ def check_file_sha1(file: str, excepted_sha1: str) -> int:
class Track:
def __init__(self, name: str = "", author: str = "Nintendo", special: str = "T11", music: str = "T11",
def __init__(self, name: str = " ", author: str = "Nintendo", special: str = "T11", music: str = "T11",
sha1: str = None, since_version: str = None, score: int = -1, warning: int = 0, note: str = "",
track_wu8_dir: str = "./file/Track-WU8/", track_szs_dir: str = "./file/Track/",
track_version: str = None, tags: list = [], *args, **kwargs):