state.gcodeList to config.gcodeList

This commit is contained in:
sanjayk03-dev
2024-01-26 16:18:49 +05:30
parent 100c8697de
commit ec757089f6
6 changed files with 103 additions and 30 deletions

View File

@@ -41,7 +41,6 @@ class Config(object):
self.log = ctrl.log.get('Config')
self.values = {}
self.values['GCodeList'] = []
try:
self.version = "1.4.0"
@@ -63,7 +62,6 @@ class Config(object):
try:
self._upgrade(config)
config['GCodeList'] = self.get('GCodeList', ["Test.ngc"])
except Exception: self.log.exception('Internal error: Failed to upgrade config')
except Exception as e: