mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-14 08:17:13 +03:00
exe: Removes the previous un-setting of TCL_LIBRARY
This is what was causing py2exe 0.9.3.2's fix for 'import tkinter' to then fail on .exe run due to unset TCL_LIBRARY.
This commit is contained in:
parent
0dbe901158
commit
937cd990c6
@ -24,10 +24,6 @@ if getattr(sys, 'frozen', False):
|
||||
if platform == 'win32':
|
||||
chdir(dirname(sys.path[0]))
|
||||
|
||||
# Workaround for CSR's BlueSuite: http://sw.rucsok.hu/tkinter/tclenvar.html
|
||||
if 'TCL_LIBRARY' in environ:
|
||||
environ.pop('TCL_LIBRARY')
|
||||
|
||||
import tkinter as tk
|
||||
import tkinter.ttk
|
||||
import tkinter.filedialog
|
||||
|
Loading…
x
Reference in New Issue
Block a user