Page 1 of 1

Question about two files, bug or ?

Posted: Mon Nov 13, 2017 6:48 pm
by daerlnaxe
I will make a script for begining, it will pass from label to labelplus torrent if they have the same categorize name. But after have read the json files:
label.conf and labelplus.conf i found the same error, and i ask to myself if it come from me, if this normal and there is a different parser than the lib json to load it.

At the begin of the two files i found:

Code: Select all

{
  "file": 1, 
  "format": 1
}{
  "labels": {
instead of

Code: Select all


{
  "file": 1, 
  "format": 1,
  "labels": {


it's important to me to know because my script can't be exported if it's normal and i use the lib json to make the modifications.

Re: Question about two files, bug or ?

Posted: Mon Nov 13, 2017 7:01 pm
by Cas
The latter is incorrect. You should be using the deluge config parser.

Re: Question about two files, bug or ?

Posted: Mon Nov 13, 2017 7:56 pm
by daerlnaxe
Thanks for your answer