Cleanup: run autopep8 with max-line-length=120 (missed a file)

This commit is contained in:
Campbell Barton 2022-04-20 15:55:17 +10:00
parent 67516d0dae
commit 11dd7941af
1 changed files with 4 additions and 1 deletions

View File

@ -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):