Skip to content

Commit

Permalink
correct logic in 2nd example pre-q script
Browse files Browse the repository at this point in the history
  • Loading branch information
jcfp committed May 25, 2023
1 parent 2b192e7 commit f4fc9f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wiki/scripts/pre-queue-scripts.html
Expand Up @@ -320,7 +320,7 @@ <h2 id="toc3">Example Script 2</h2>
sys.exit(1) # a non-zero exit status causes SABnzbd to ignore the output of this script

prio = -100 # Default
if int(downloadsize) > 50111222:
if int(downloadsize) < 50*1024**2:
prio = 2

print("1") # Accept the job
Expand Down

0 comments on commit f4fc9f1

Please sign in to comment.