From b49c3cd1bcd654dfc98c58aa352838886f6cd599 Mon Sep 17 00:00:00 2001 From: Dustin Pianalto Date: Wed, 9 May 2018 16:24:20 -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 2dac590..8b9edcc 100644 --- a/exts/imports/process_files.py +++ b/exts/imports/process_files.py @@ -124,6 +124,7 @@ def process_files(z) -> (ConfigParser, ConfigParser, list): except UnicodeDecodeError as e: print(e) return 0, 0, 0 + print([dino.sections() for key, dino in dino_data.values()]) rmtree('submissions_temp/tmp') if not mods: mods = check_for_modded_dinos(dino_data, mods)