diff options
author | Marek Siarkowicz <mareksiarkowicz@gmail.com> | 2015-06-14 13:26:59 +0200 |
---|---|---|
committer | Marek Siarkowicz <mareksiarkowicz@gmail.com> | 2015-06-14 13:26:59 +0200 |
commit | 9656058a351237bbfdba4f9f93dae1bbf093d7e4 (patch) | |
tree | 0acb5d968f619aed0ad1469740888429efb09c7b | |
parent | 42f14d48ddc26f1dc1a88a4f5b9ecb2d79028331 (diff) | |
download | pyParrotZikTCP-9656058a351237bbfdba4f9f93dae1bbf093d7e4.tar.xz pyParrotZikTCP-9656058a351237bbfdba4f9f93dae1bbf093d7e4.zip |
Ignore KeyboardInterrupt.
-rwxr-xr-x | ParrotZikTray | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ParrotZikTray b/ParrotZikTray index 7056f92..faaa4a3 100755 --- a/ParrotZikTray +++ b/ParrotZikTray @@ -448,5 +448,8 @@ class ParrotZikVersion2Interface(ParrotZikBaseInterface): if __name__ == "__main__": - indicator = ParrotZikIndicator() - indicator.main() + try: + indicator = ParrotZikIndicator() + indicator.main() + except KeyboardInterrupt: + pass |