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