aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Siarkowicz <mareksiarkowicz@gmail.com>2015-06-14 13:26:59 +0200
committerMarek Siarkowicz <mareksiarkowicz@gmail.com>2015-06-14 13:26:59 +0200
commit9656058a351237bbfdba4f9f93dae1bbf093d7e4 (patch)
tree0acb5d968f619aed0ad1469740888429efb09c7b
parent42f14d48ddc26f1dc1a88a4f5b9ecb2d79028331 (diff)
downloadpyParrotZikTCP-9656058a351237bbfdba4f9f93dae1bbf093d7e4.tar.xz
pyParrotZikTCP-9656058a351237bbfdba4f9f93dae1bbf093d7e4.zip
Ignore KeyboardInterrupt.
-rwxr-xr-xParrotZikTray7
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