Restyling redundant 'except Exception' form

This commit is contained in:
Miroslav Stampar
2013-01-10 15:54:28 +01:00
parent acfeeb4f51
commit 834be1eddc
4 changed files with 4 additions and 4 deletions

View File

@@ -24,7 +24,7 @@ def beep():
_linux_wav_play(BEEP_WAV_FILENAME)
else:
_speaker_beep()
except Exception:
except:
_speaker_beep()
def _speaker_beep():