Skip to content

Commit 94c47a5

Browse files
Minor Minor
1 parent 3cfd592 commit 94c47a5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

css-html-js-minify.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1206,6 +1206,7 @@ def make_root_check_and_encoding_debug():
12061206
log.debug("PYTHONIOENCODING Encoding: {0}.".format(
12071207
os.environ.get("PYTHONIOENCODING", None)))
12081208
os.environ["PYTHONIOENCODING"] = "utf-8"
1209+
sys.dont_write_bytecode = True
12091210
if not sys.platform.startswith("win"): # root check
12101211
if not os.geteuid():
12111212
log.critical("Runing as root is not Recommended,NOT Run as root!.")

0 commit comments

Comments
 (0)