0.12.32 fix switch langs

This commit is contained in:
SDE
2024-04-08 18:08:05 +03:00
parent ad1db581a7
commit 607a0f8245
3 changed files with 40 additions and 36 deletions

View File

@@ -78,7 +78,7 @@ def del_amp_symbols(value):
@stringfilter
def del_lang_from_path(value):
path_list = value.split('/')
path = '/' + '/'.join(path_list[2:])
path = '/' + '/'.join(path_list[4:])
# for i in path_list[1:]:
# path.join(i + '/')