Revert testing 'True or' on console redirect

This commit is contained in:
Athanasius committed 2021-04-01 14:45:48 +01:00
1 parent 2ec767405f
commit f38b2aa95e
1 file changed
+1 -1
+1 -1
View File
@@ -133,7 +133,7 @@ if __name__ == '__main__':
# Keep this as the very first code run to be as sure as possible of no
# output until after this redirect is done, if needed.
if True or getattr(sys, 'frozen', False):
if getattr(sys, 'frozen', False):
# By default py2exe tries to write log to dirname(sys.executable) which fails when installed
import tempfile