Merge pull request #531 from MikeTheWatchGuy/Dev-latest

Windows check
This commit is contained in:
MikeTheWatchGuy 2018-10-21 13:19:38 -04:00 committed by GitHub
commit d6646aeaea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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