Typo's causing pre-logging issues fixed

This commit is contained in:
echel0n 2014-04-14 10:43:19 -07:00
commit d65448db87
2 changed files with 2 additions and 2 deletions

View file

@ -152,7 +152,7 @@ def initialize():
sys.exit(1) sys.exit(1)
if not nzbToMediaUtil.makeDir(LOG_DIR): if not nzbToMediaUtil.makeDir(LOG_DIR):
logger.error("!!! No log folder, logging to screen only!") print("!!! No log folder, logging to screen only!")
# init logging # init logging
logger.ntm_log_instance.initLogging() logger.ntm_log_instance.initLogging()

View file

@ -42,7 +42,7 @@ def create_destination(outputDestination):
def makeDir(path): def makeDir(path):
if not os.path.isdir(path): if not os.path.isdir(path):
try: try:
os.makedirs( path) os.makedirs(path)
except OSError: except OSError:
return False return False
return True return True