Windows check
This commit is contained in:
parent
dbae221081
commit
a625c4a3f8
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue