Bypass for manual execution (#1788)

* no_status_check prevents additional checks.
#1192
#1778
This commit is contained in:
Clinton Hall 2020-10-16 22:55:41 +13:00 committed by GitHub
commit bf05f1b4e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 17 additions and 5 deletions

View file

@ -317,6 +317,8 @@ def main(args):
if input_directory and input_name and input_hash and input_id:
result = process_torrent(input_directory, input_name, input_category, input_hash, input_id, client_agent)
elif core.TORRENT_NO_MANUAL:
logger.warning('Invalid number of arguments received from client, and no_manual set')
else:
# Perform Manual Post-Processing
logger.warning('Invalid number of arguments received from client, Switching to manual run mode ...')