File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
addons/source-python/packages/source-python/core Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 3535class _CoreSettings (ConfigObj ):
3636 """Class used to store core settings."""
3737
38- def __init__ (self , infile ):
38+ def __init__ (self , infile , * args , ** kwargs ):
3939 """Add missing items and set comments using the server's language."""
4040 # Import the file
41- super ().__init__ (infile )
41+ super ().__init__ (infile , * args , ** kwargs )
4242 self ._language = None
4343
4444 def load (self ):
@@ -205,4 +205,5 @@ def _check_backend_settings(self, backend):
205205 backend_settings [option ] = value
206206
207207# Get the _CoreSettings instance
208- _core_settings = _CoreSettings (CFG_PATH / 'core_settings.ini' )
208+ _core_settings = _CoreSettings (CFG_PATH / 'core_settings.ini' ,
209+ encoding = 'utf8' )
You can’t perform that action at this time.
0 commit comments