I attempted to add another parameter by:
Code: Select all
adding
nzburl = nzo.get_future()
to line 226 in postproc.py
Code: Select all
changing
script_log, script_ret = external_processing(script_path, workdir_complete, nzo.get_filename(), msgid, dirname, cat, group, jobResult)
to
script_log, script_ret = external_processing(script_path, workdir_complete, nzo.get_filename(), msgid, dirname, cat, group, jobResult, nzburl)
in postproc.py line 393Code: Select all
changing
def external_processing(extern_proc, complete_dir, filename, msgid, nicename, cat, group, status):
to
def external_processing(extern_proc, complete_dir, filename, msgid, nicename, cat, group, status, nzburl=''):
in newunpack.py line 118Code: Select all
and changing
str(nicename), str(msgid), str(cat), str(group), str(status)]
to
str(nicename), str(msgid), str(cat), str(group), str(status), str(nzburl)]
in newsunpack.py line 121