From 530367b64eee613a531572be5926425d7ce92096 Mon Sep 17 00:00:00 2001 From: Dustin Pianalto Date: Wed, 9 May 2018 16:38:33 -0800 Subject: [PATCH] Try utf-16 if utf-8 fails --- exts/imports/process_files.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exts/imports/process_files.py b/exts/imports/process_files.py index 58e3611..89b19c3 100644 --- a/exts/imports/process_files.py +++ b/exts/imports/process_files.py @@ -126,7 +126,7 @@ def process_files(z) -> (ConfigParser, ConfigParser, list): except UnicodeDecodeError as e: print(e) return 0, 0, 0 - rmtree('submissions_temp/tmp') + # rmtree('submissions_temp/tmp') if not mods: mods = check_for_modded_dinos(dino_data, mods) return game_config, dino_data, mods