From a99abb7cc7aa527540c36477b7c579b26c4479cf Mon Sep 17 00:00:00 2001 From: Dustin Pianalto Date: Wed, 9 May 2018 15:59:21 -0800 Subject: [PATCH] Try utf-16 if utf-8 fails --- exts/imports/process_files.py | 1 + 1 file changed, 1 insertion(+) diff --git a/exts/imports/process_files.py b/exts/imports/process_files.py index 4e3d8b3..dfcd3fb 100644 --- a/exts/imports/process_files.py +++ b/exts/imports/process_files.py @@ -115,6 +115,7 @@ def process_files(z) -> (ConfigParser, ConfigParser, list): except UnicodeDecodeError as e: print(e) return 0, 0, 0 + os.rmdir('submissions_temp/tmp') if not mods: mods = check_for_modded_dinos(dino_data, mods) return game_config, dino_data, mods