From 09a4c8377200e3f2c74f8f7b4075dbf0170cc5f1 Mon Sep 17 00:00:00 2001 From: Sascha Rommelfangen Date: Wed, 24 May 2017 15:49:49 +0200 Subject: [PATCH] python3 --- MUA/Apple/Mail/MISP Mail Rule Action.txt | 2 +- MUA/Mozilla/Thunderbird/thunderbird_wrapper.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MUA/Apple/Mail/MISP Mail Rule Action.txt b/MUA/Apple/Mail/MISP Mail Rule Action.txt index 9cd3566..f6ed67b 100644 --- a/MUA/Apple/Mail/MISP Mail Rule Action.txt +++ b/MUA/Apple/Mail/MISP Mail Rule Action.txt @@ -18,7 +18,7 @@ using terms from application "Mail" on error error_message set this_content to "NO CONTENT" end try - do shell script "/opt/local/bin/python2.7 /Users/rommelfs/Scripts/mail_to_misp/mail_to_misp.py " & quoted form of this_content & " " & quoted form of this_subject + do shell script "/Library/Frameworks/Python.framework/Versions/3.4/bin/python3 /Users/rommelfs/Scripts/mail_to_misp/mail_to_misp.py " & quoted form of this_content & " " & quoted form of this_subject end repeat end tell end perform mail action with messages diff --git a/MUA/Mozilla/Thunderbird/thunderbird_wrapper.sh b/MUA/Mozilla/Thunderbird/thunderbird_wrapper.sh index 72d3b1e..65b90cd 100755 --- a/MUA/Mozilla/Thunderbird/thunderbird_wrapper.sh +++ b/MUA/Mozilla/Thunderbird/thunderbird_wrapper.sh @@ -1,5 +1,5 @@ #!/bin/bash MESSAGE=`cat $1` SUBJECT=`head -n 1 $1` -/opt/local/bin/python2.7 /Users/rommelfs/Scripts/mail_to_misp/mail_to_misp.py "$MESSAGE" "$SUBJECT" +/Library/Frameworks/Python.framework/Versions/3.4/bin/python3 /Users/rommelfs/Scripts/mail_to_misp/mail_to_misp.py "$MESSAGE" "$SUBJECT"