bypass remote_path error and log current version #414. Fix Mylar Handling #410

This commit is contained in:
clinton-hall 2014-06-03 17:22:01 +09:30
commit 330ef6a23a
3 changed files with 16 additions and 12 deletions

View file

@ -214,8 +214,11 @@
# Mylar port.
#myport=8090
# Mylar api key.
#myapikey=
# Mylar username.
#myusername=
# Mylar password.
#mypassword=
# Mylar uses ssl (0, 1).
#
@ -401,9 +404,8 @@ def process(inputDirectory, inputName=None, status=0, clientAgent='manual', down
sectionName, inputCategory))
return -1
except:
logger.error('Remote Path is not valid for %s:%s Please set this to either 0 to disable or 1 to enable, exiting!' % (
sectionName, inputCategory))
return -1
logger.error('Remote Path %s is not valid for %s:%s Please set this to either 0 to disable or 1 to enable!' % (
section[inputCategory]['remote_path'], sectionName, inputCategory))
if extract == 1:
logger.debug('Checking for archives to extract in directory: %s' % (inputDirectory))