1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-15 00:30:33 +03:00

Revert testing 'True or' on console redirect

This commit is contained in:
Athanasius 2021-01-13 15:29:40 +00:00
parent 2ec767405f
commit f38b2aa95e

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