mirror of
https://github.com/Yonokid/PyTaiko.git
synced 2026-02-04 11:40:13 +01:00
Update tja.py
This commit is contained in:
@@ -377,8 +377,8 @@ class TJAParser:
|
|||||||
self.metadata.bpm = float(data)
|
self.metadata.bpm = float(data)
|
||||||
elif item.startswith('WAVE'):
|
elif item.startswith('WAVE'):
|
||||||
data = item.split(':')[1]
|
data = item.split(':')[1]
|
||||||
print(data)
|
|
||||||
if not Path(self.file_path.parent / data.strip()).exists():
|
if not Path(self.file_path.parent / data.strip()).exists():
|
||||||
|
print(data, self.file_path)
|
||||||
logger.warning(f"Invalid WAVE value: {data} in TJA file {self.file_path}")
|
logger.warning(f"Invalid WAVE value: {data} in TJA file {self.file_path}")
|
||||||
self.metadata.wave = Path()
|
self.metadata.wave = Path()
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user