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:
authorCampbell Barton <campbell@blender.org>2022-04-20 08:55:17 +0300
committerClément Foucault <foucault.clem@gmail.com>2022-04-21 12:09:06 +0300
commit812901b2818a72b558d45b6062d0073881adf697 (patch)
tree717c39c71f860511013c76db41df523d491f8be9
parent7c525049141719502bee84924006844fccb1bfbe (diff)
Cleanup: run autopep8 with max-line-length=120 (missed a file)
-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):