Do not print trace when Ctrl+C'ing
This commit is contained in:
parent
6417fb44e8
commit
bc49857220
1 changed files with 2 additions and 0 deletions
2
mmmpd
2
mmmpd
|
@ -136,6 +136,8 @@ def main(mpd_host_string, mpd_port):
|
||||||
set_status_from_mpd(mpd_client)
|
set_status_from_mpd(mpd_client)
|
||||||
try:
|
try:
|
||||||
loop(mpd_client, set_status_from_mpd)
|
loop(mpd_client, set_status_from_mpd)
|
||||||
|
except KeyboardInterrupt:
|
||||||
|
pass
|
||||||
finally:
|
finally:
|
||||||
clear_status()
|
clear_status()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue