config module handles reading, writing, and managing application configuration.
Config Class
Manages configuration information with file persistence.Attributes
str
Path to the configuration file
str
Path to the application data folder
dict
Two-level dictionary containing all configuration values. First-level keys are section names, second-level keys are parameter names.
dict
Default configuration values
Methods
get_user_folders()
str
Path to configuration folder
str
Path to data folder
load_config()
bool
default:false
Whether to run in isolated mode
need_config()
bool
True if configuration is incomplete
write_configuration()
Configuration is automatically backed up before writing. Legacy options are removed during the write process.
write_config_backup()
str
Destination path for backup file (will append .tar.bz2 if not present)
Configuration Sections
Server Section
Server connection and authentication settings.Transfers Section
File transfer and sharing settings.Searches Section
Search-related settings.Global Instance
config instance is available for import.