Question about two files, bug or ?

Suggestions and discussion of future versions
Post Reply
daerlnaxe
Member
Member
Posts: 12
Joined: Wed Nov 01, 2017 9:59 am

Question about two files, bug or ?

Post 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.
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Question about two files, bug or ?

Post by Cas »

The latter is incorrect. You should be using the deluge config parser.
daerlnaxe
Member
Member
Posts: 12
Joined: Wed Nov 01, 2017 9:59 am

Re: Question about two files, bug or ?

Post by daerlnaxe »

Thanks for your answer
Post Reply