add tap tempo to metronomic app (#2605)

* _

* format

* fix new tree in Arch
This commit is contained in:
sommermorgentraum
2025-04-03 04:15:12 +08:00
committed by GitHub
parent ecd1a217d7
commit 4bbe1175c1
4 changed files with 175 additions and 1 deletions

View File

@@ -137,7 +137,12 @@ def get_pp_device_linux():
parts = clean_line.split()
if len(parts) >= 2 and SDCARD_LABEL in parts[1]: # checker
print("found pp sd:")
device_path = parts[0]
#remove `- in it
device_path = device_path.replace('-', '')
device_path = device_path.replace('`', '')
print(device_path)
# if path valid
if not os.path.exists(device_path):
continue