mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-13 14:55:29 +00:00
add tap tempo to metronomic app (#2605)
* _ * format * fix new tree in Arch
This commit is contained in:

committed by
GitHub

parent
ecd1a217d7
commit
4bbe1175c1
@@ -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
|
||||
|
Reference in New Issue
Block a user