File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -107,6 +107,7 @@ def defPaths(customSavePath=None):
107
107
global clientHash
108
108
global version
109
109
global experimentalFeatures
110
+ global language
110
111
111
112
pyfalog .debug ("Configuring Pyfa" )
112
113
@@ -184,12 +185,13 @@ def defPaths(customSavePath=None):
184
185
# saveddata db location modifier, shouldn't ever need to touch this
185
186
eos .config .saveddata_connectionstring = "sqlite:///" + saveDB + "?check_same_thread=False"
186
187
eos .config .gamedata_connectionstring = "sqlite:///" + gameDB + "?check_same_thread=False"
187
- eos .config .set_lang (language )
188
188
189
189
# initialize the settings
190
- from service .settings import EOSSettings
190
+ from service .settings import EOSSettings , LocaleSettings
191
191
eos .config .settings = EOSSettings .getInstance ().EOSSettings # this is kind of confusing, but whatever
192
192
193
+ language = language or LocaleSettings .getInstance ().get ('locale' )
194
+ eos .config .set_lang (language )
193
195
194
196
def defLogging ():
195
197
global debug
You can’t perform that action at this time.
0 commit comments