mirror of
https://github.com/opentx/opentx.git
synced 2025-07-13 11:29:51 +03:00
6 lines
137 B
Python
6 lines
137 B
Python
def filename(idx):
|
|
ext = ".wav"
|
|
if isinstance(idx, int):
|
|
return "%04d%s" % (idx, ext)
|
|
else:
|
|
return idx + ext
|