From 729c9f454ce529c3829c2f988d1f7e8ddf9b43f7 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Wed, 3 Feb 2016 12:00:13 +0200 Subject: Default to Mail.app in the .app as well --- Troublegun.app/Contents/Resources/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Troublegun.app/Contents/Resources/main.py b/Troublegun.app/Contents/Resources/main.py index 76cbbb0..9f1bb05 100755 --- a/Troublegun.app/Contents/Resources/main.py +++ b/Troublegun.app/Contents/Resources/main.py @@ -34,7 +34,7 @@ def screencapture(): def makemail(config): helper = gethelper() - if "com.apple.mail" in helper: + if helper == "" or "com.apple.mail" in helper: scpt = file(getresource("mail.scpt"), "r") elif "entourage" in helper: scpt = file(getresource("entourage.scpt"), "r") -- cgit v1.2.3