Python 2.7 warning
This commit is contained in:
parent
076bf2507a
commit
f7e0cfdb87
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue