diff --git a/TODO.md b/TODO.md index 1b12c77a..3d5c7deb 100644 --- a/TODO.md +++ b/TODO.md @@ -11,11 +11,9 @@ - When qml syntax highlighting supports ES6 string interpolation, use them - Fixes - - make install + - `make install` - Make uvloop optional - - Distribute fonts - Backspace bug - - Add missing shortcuts to config file - Show error if uploading avatar fails or file is corrupted @@ -92,6 +90,7 @@ - Spinner when loading past room events or images - Theming + - Bundle fonts - File format - icons.preferredPack: accept multiple values - Find icon packs in user data dir diff --git a/src/python/config_files.py b/src/python/config_files.py index 7be9f277..4930c91a 100644 --- a/src/python/config_files.py +++ b/src/python/config_files.py @@ -59,7 +59,7 @@ class JSONConfigFile(ConfigFile): all_data = await self.default_data() dict_update_recursive(all_data, data) - if len(data) != len(all_data): + if data != all_data: await self.write(all_data) return all_data