Page 1 of 1

"SyntaxError: invalid syntax"

Posted: May 16th, 2023, 1:05 am
by RickN
Hello,

I am getting the following error:
File "/home/greg/video/scripts/nzbToMedia/nzbToMedia . py", line 45
cpshost=127.0.0.1
SyntaxError: invalid syntax

I have gone to nzbtomedia and line 44 tells me that "localhost" and "127.0.0.1" are both ok.
I have tried both and failed. "localhost" said "invalid" something I think.

any thoughts?

Re: "SyntaxError: invalid syntax"

Posted: May 16th, 2023, 1:39 am
by sander
Not SABnzbd, so no experiece, but I think you have to put it in quotes. So

cpshost="127.0.0.1"