From f7e0cfdb87bfadd5ab2941027e41acf8f3228203 Mon Sep 17 00:00:00 2001 From: MikeTheWatchGuy Date: Mon, 22 Oct 2018 11:50:12 -0400 Subject: [PATCH] Python 2.7 warning --- Demo_Desktop_Widget_Email_Notification.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Demo_Desktop_Widget_Email_Notification.py b/Demo_Desktop_Widget_Email_Notification.py index 8c371ad4..5896231a 100644 --- a/Demo_Desktop_Widget_Email_Notification.py +++ b/Demo_Desktop_Widget_Email_Notification.py @@ -5,6 +5,8 @@ if sys.version_info[0] >= 3: import PySimpleGUI as sg else: import PySimpleGUI27 as sg + sg.PopupError('Sorry, at the moment this program only runs on Python 3') + sys.exit() import email import imaplib