Debugging of sysv-args

This commit is contained in:
echel0n 2014-04-12 08:10:37 -07:00
commit ad4c6a0a47

View file

@ -333,11 +333,12 @@ def process(nzbDir, inputName=None, status=0, clientAgent='manual', download_id=
return -1 return -1
def main(): def main():
print sys.argv
# Initialize the config # Initialize the config
nzbtomedia.initialize() nzbtomedia.initialize()
# debug command line options
logger.debug("Options passed into nzbToMedia: " + sys.argv)
# Post-Processing Result # Post-Processing Result
result = 0 result = 0