Windows check

This commit is contained in:
MikeTheWatchGuy 2018-10-21 13:18:05 -04:00
parent dbae221081
commit a625c4a3f8
1 changed files with 3 additions and 0 deletions

View File

@ -5,6 +5,9 @@ if sys.version_info[0] >= 3:
else:
import PySimpleGUI27 as sg
if not sys.platform.startswith('win'):
sg.PopupError('Sorry, you gotta be on Windows')
sys.exit()
import winsound