Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-guides/TRaSH-Guides/blame/commit/b88f2fcb4869f9dfcdd45f0264136c326c2d9be2/Downloaders/SABnzbd/scripts/replace_for/replace_for.py
You should set ROOT_URL correctly, otherwise the web may not work correctly.
#!/usr/bin/python3 -OO
##################################################################
### SABnzbd - Replace underscores with dots ##
##################################################################
## ##
## NOTE: This script requires Python 3 ##
## ##
## Author: miker ##
## ##
## Install: ##
## 1. Copy script to sabnzbd's script folder ##
## 2. run: sudo chmod +x replace_for.py ##
## 3. in SABnzbd go to Config > Categories ##
## 4. Assign replace_for.py to the required category ##
##################################################################
import sys
import os
import os . path
try :
( scriptname , directory , orgnzbname , jobname , reportnumber , category , group , postprocstatus , url ) = sys . argv
except :
print ( " No commandline parameters found " )
sys . exit ( 1 ) # exit with 1 causes SABnzbd to ignore the output of this script
files = os . listdir ( directory )
for src in files :
if src . find ( " _ " ) != - 1 :
dst = src . replace ( ' _ ' , ' . ' )
os . rename ( os . path . join ( directory , src ) , os . path . join ( directory , dst ) )
print ( src , " renamed to " , dst )
print ( )
print ( )
print ( )
print ( )
# 0 means OK
sys . exit ( 0 )