Implement support for loading utf-16 XML.

Such XML is generated by software like jEveAssets's owned ships->fitting
export tool.

Without such detection, pyfa will go and try to import those as DNA
fits, with all the ensuing hilarity, thus the DNA import debug code as
well.
This commit is contained in:
Bryon Roche
2015-04-22 05:05:48 -07:00
parent e5430cac84
commit 557f32ab91
3 changed files with 42 additions and 12 deletions

View File

@@ -78,6 +78,10 @@ if __name__ == "__main__":
config.saveInRoot = True
config.defPaths()
# Basic logging
import logging
logging.basicConfig()
# Import everything
import wx
import os