mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Minor improvement for _linux_wav_play
This commit is contained in:
parent
4faaabf795
commit
900c9497d9
3 changed files with 4 additions and 4 deletions
|
|
@ -49,7 +49,7 @@ def _win_wav_play(filename):
|
|||
winsound.PlaySound(filename, winsound.SND_FILENAME)
|
||||
|
||||
def _linux_wav_play(filename):
|
||||
for _ in ("aplay", "paplay", "play"):
|
||||
for _ in ("paplay", "aplay", "mpv", "mplayer", "play"):
|
||||
if not os.system("%s '%s' 2>/dev/null" % (_, filename)):
|
||||
return
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue