Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--release/scripts/modules/bl_i18n_utils/settings.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/release/scripts/modules/bl_i18n_utils/settings.py b/release/scripts/modules/bl_i18n_utils/settings.py
index a51c48ad5d1..514ff83e001 100644
--- a/release/scripts/modules/bl_i18n_utils/settings.py
+++ b/release/scripts/modules/bl_i18n_utils/settings.py
@@ -610,7 +610,10 @@ class I18nSettings:
def to_json(self):
# Only save the diff from default i18n_settings!
glob = globals()
- export_dict = {uid: val for uid, val in self.__dict__.items() if _check_valid_data(uid, val) and glob.get(uid) != val}
+ export_dict = {
+ uid: val for uid, val in self.__dict__.items()
+ if _check_valid_data(uid, val) and glob.get(uid) != val
+ }
return json.dumps(export_dict)
def load(self, fname, reset=False):