mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-21 05:43:16 -07:00
Typo's causing pre-logging issues fixed
This commit is contained in:
parent
df6e85467a
commit
d65448db87
2 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue