Cleanup: run autopep8 with max-line-length=120 (missed a file)
This commit is contained in:
parent
67516d0dae
commit
11dd7941af
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue