Move logging initialization back to pyfa.py

This commit is contained in:
DarkPhoenix
2015-04-28 21:59:14 +03:00
parent 33a0c10650
commit d18cf7b3b0
2 changed files with 6 additions and 7 deletions

View File

@@ -29,11 +29,6 @@ staticPath = None
saveDB = None saveDB = None
gameDB = None gameDB = None
# TODO: move back to pyfa.py main loop
# We moved it here just to avoid rebuilding windows skeleton for now (any change to pyfa.py needs it)
import logging
logging.basicConfig()
def defPaths(): def defPaths():
global pyfaPath global pyfaPath
global savePath global savePath

View File

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