Debug logging when flag is set

This commit is contained in:
blitzmann
2015-07-23 16:58:04 -04:00
parent 01db1efdf7
commit cc59612fa4
2 changed files with 4 additions and 2 deletions

View File

@@ -17,7 +17,10 @@ debug = False
# Defines if our saveddata will be in pyfa root or not
saveInRoot = False
logLevel = logging.DEBUG
if debug:
logLevel = logging.DEBUG
else:
logLevel = logging.WARN
# Version data
version = "1.13.3"