Skip to content

Commit

Permalink
util: Added argument to winsound.MessageBeep funciton call.
Browse files Browse the repository at this point in the history
  • Loading branch information
cesrom committed Jul 7, 2020
1 parent f5e3cbc commit d06c492
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/system/util.py
Expand Up @@ -32,9 +32,9 @@ def beep():
if platforms[sys.platform] == 'Windows':
try:
import winsound
winsound.MessageBeep()
winsound.MessageBeep(winsound.MB_ICONEXCLAMATION)
except ImportError:
print('Beep!')
print 'Beep!'
elif platforms[sys.platform] == 'OS X':
import os
os.system('say "beep"')
Expand Down

0 comments on commit d06c492

Please sign in to comment.