Adding a default server in cfg.py
Posted: July 20th, 2010, 9:29 am
Hi,
I am trying to add a default server in cfg.py so everytime i install sabnzbd the sabnzbd.ini file will be directly preconfigured and so i dont have to overwrite it.
If i am not mistaken in config.py, the "define_servers()" function read the cfg.py for a configured server.
But i couldnt find the right synthax to add a server with all the params.
Sorry i aint good in python.
Thanks for your help
I am trying to add a default server in cfg.py so everytime i install sabnzbd the sabnzbd.ini file will be directly preconfigured and so i dont have to overwrite it.
If i am not mistaken in config.py, the "define_servers()" function read the cfg.py for a configured server.
But i couldnt find the right synthax to add a server with all the params.
Sorry i aint good in python.
Thanks for your help