Python 2.7 warning

This commit is contained in:
MikeTheWatchGuy 2018-10-22 11:50:12 -04:00
parent 076bf2507a
commit f7e0cfdb87
1 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,8 @@ if sys.version_info[0] >= 3:
import PySimpleGUI as sg import PySimpleGUI as sg
else: else:
import PySimpleGUI27 as sg import PySimpleGUI27 as sg
sg.PopupError('Sorry, at the moment this program only runs on Python 3')
sys.exit()
import email import email
import imaplib import imaplib