From 73dfff1026c67da3a94215eb3d91ec0469861525 Mon Sep 17 00:00:00 2001 From: Dustin Pianalto Date: Wed, 9 May 2018 16:51:09 -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 7b3d1cf..908c808 100644 --- a/exts/imports/process_files.py +++ b/exts/imports/process_files.py @@ -127,7 +127,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