mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-21 22:03:13 -07:00
remove additional try to expose error
This commit is contained in:
parent
f3459fb252
commit
189b1a487e
1 changed files with 5 additions and 5 deletions
|
@ -309,11 +309,11 @@ def main(args):
|
|||
status_code=0,
|
||||
)
|
||||
|
||||
try:
|
||||
input_directory, input_name, input_category, input_hash, input_id = core.parse_args(client_agent, args)
|
||||
except Exception:
|
||||
logger.error('There was a problem loading variables')
|
||||
return -1
|
||||
#try:
|
||||
input_directory, input_name, input_category, input_hash, input_id = core.parse_args(client_agent, args)
|
||||
#except Exception:
|
||||
#logger.error('There was a problem loading variables')
|
||||
#return -1
|
||||
|
||||
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue