mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-06 21:44:16 +02:00
Modernize runtime compatibility and initialize Bearhub fork
This commit is contained in:
@@ -81,7 +81,7 @@ class WebApplicationManager(SoftwareManager, SettingsController):
|
||||
|
||||
def get_accept_language_header(self) -> str:
|
||||
try:
|
||||
syslocale = locale.getdefaultlocale()
|
||||
syslocale = locale.getlocale()
|
||||
|
||||
if syslocale:
|
||||
locale_split = syslocale[0].split('_')
|
||||
|
||||
Reference in New Issue
Block a user