From 937cd990c6385c8123260b8e1e43d3a6c7b9e4ae Mon Sep 17 00:00:00 2001
From: Athanasius <github@miggy.org>
Date: Tue, 24 Sep 2019 23:29:06 +0100
Subject: [PATCH] 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.
---
 EDMarketConnector.py | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/EDMarketConnector.py b/EDMarketConnector.py
index d8c34f90..1c277fb5 100755
--- a/EDMarketConnector.py
+++ b/EDMarketConnector.py
@@ -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