From 6190022cf5bcae7ef4934b528d9132db5f0c2234 Mon Sep 17 00:00:00 2001 From: Seth Messer Date: Tue, 13 Nov 2018 16:23:23 -0600 Subject: [PATCH] Removing the encoding seems to have resolved issues on py 2.7 --- pync/TerminalNotifier.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/pync/TerminalNotifier.py b/pync/TerminalNotifier.py index c658a1c..337e8a2 100644 --- a/pync/TerminalNotifier.py +++ b/pync/TerminalNotifier.py @@ -69,9 +69,6 @@ def notify(self, message, **kwargs): The options `wait` is a boolean for whether or not we need to wait (block) for the background process to finish """ - if sys.version_info < (3,): - message = message.encode('utf-8', 'replace') - self._wait = kwargs.pop('wait', False) args = ['-message', message]