Added argument passing for set_locale()

This commit is contained in:
Anton Hvornum 2020-03-16 18:09:19 +01:00
parent 20d64e445a
commit 5d39c4b5c5
1 changed files with 1 additions and 1 deletions

View File

@ -1029,7 +1029,7 @@ def strap_in_base(*positionals, **kwargs):
log(f'Could not sync mirrors: {sync_mirrors.exit_code}', level=3, origin='strap_in_base')
return False
def set_locale(fmt):
def set_locale(fmt, *positionals, **kwargs):
if not '.' in fmt:
if fmt.lower() == 'se':
fmt = 'en_SE.UTF-8 UTF-8'