Fix replacing breaks with config version upgrade

This commit is contained in:
Gobinath 2021-02-11 08:56:19 -05:00
parent 8ad67f88f8
commit 93d72cec72
1 changed files with 3 additions and 1 deletions

View File

@ -299,7 +299,9 @@ class Config:
self.__user_config = utility.load_json(utility.CONFIG_FILE_PATH)
self.__system_config = utility.load_json(
utility.SYSTEM_CONFIG_FILE_PATH)
self.__force_upgrade = ['long_breaks', 'short_breaks']
# If there any breaking changes in long_breaks, short_breaks or any other keys, use the __force_upgrade list
self.__force_upgrade = []
# self.__force_upgrade = ['long_breaks', 'short_breaks']
if init:
if self.__user_config is None: