mirror of
https://github.com/onionshare/onionshare.git
synced 2025-07-02 18:26:56 -04:00
Fix indentation...
This commit is contained in:
parent
83e0d9f4de
commit
0333ec915c
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ def main():
|
||||||
if lang_code == 'all':
|
if lang_code == 'all':
|
||||||
locale_files = [f for f in files_in(dir, 'share/locale') if f.endswith('.json')]
|
locale_files = [f for f in files_in(dir, 'share/locale') if f.endswith('.json')]
|
||||||
else:
|
else:
|
||||||
locale_files = [f for f in files_in(dir, 'share/locale') if f.endswith('%s.json' % lang_code)]
|
locale_files = [f for f in files_in(dir, 'share/locale') if f.endswith('%s.json' % lang_code)]
|
||||||
for locale_file in locale_files:
|
for locale_file in locale_files:
|
||||||
with codecs.open(locale_file, 'r', encoding='utf-8') as f:
|
with codecs.open(locale_file, 'r', encoding='utf-8') as f:
|
||||||
trans = json.load(f)
|
trans = json.load(f)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue