Page 1 of 1

minor formatting inconsistencies in logged settings

Posted: April 22nd, 2018, 3:02 pm
by OneCD
Hello.

I've just upgraded to SABnzbd 2.3.3 and it's all going very well! ;D

But, whilst examining the log, I noticed in the section at the end where all the settings are displayed, there are a few variable / value pairs missing whitespace chars either side of the equals (=) sign. This appears to be limited to locations where the values for username and password have been replaced with safe text. As this is only done for display purposes, it's unlikely to have any effect to program operation. The 'email_to' field has been sanitised correctly.

Like the title says - "minor". But my obsessive-compulsive disorder has noticed it. ;)

(Unfortunately, the <code> tags on this forum don't use a monospaced font, so the issue may not be immediately apparent, as shown below.)

Code: Select all

email_to = <REMOVED>
password=<PASSWORD>
permissions = 777

Code: Select all

tv_sort_string = ""
username=<USER>
unpack_check = 0

Code: Select all

[newzbin]
username=<USER>
bookmark_rate = 60
bookmarks = 0
password=<PASSWORD>
unbookmark = 1
[nzbmatrix]
username=<USER>
apikey = ""

Code: Select all

send_group = 0
password=<PASSWORD>
optional = 0

Code: Select all

[[eunews.frugalusenet.com]]
username=<USER>
priority = 1

Re: minor formatting inconsistencies in logged settings

Posted: April 22nd, 2018, 3:06 pm
by safihre
The reason is that I suck at regular expressions so this was the best I could come up with :D