Fixes #7171
[opentx.git] / radio / util / tts_common.py
blob7086c64dd2ba6bd497d14eb835aeb6d5f5e54e02
1 def filename(idx):
2 ext = ".wav"
3 if isinstance(idx, int):
4 return "%04d%s" % (idx, ext)
5 else:
6 return idx + ext