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 35
35
class _CoreSettings (ConfigObj ):
36
36
"""Class used to store core settings."""
37
37
38
- def __init__ (self , infile ):
38
+ def __init__ (self , infile , * args , ** kwargs ):
39
39
"""Add missing items and set comments using the server's language."""
40
40
# Import the file
41
- super ().__init__ (infile )
41
+ super ().__init__ (infile , * args , ** kwargs )
42
42
self ._language = None
43
43
44
44
def load (self ):
@@ -205,4 +205,5 @@ def _check_backend_settings(self, backend):
205
205
backend_settings [option ] = value
206
206
207
207
# 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