back to config.py

This commit is contained in:
sanjayk03-dev
2024-01-22 22:42:35 +05:30
parent 3fc1bcfc1f
commit 18b53388d6
3 changed files with 5 additions and 17 deletions

View File

@@ -41,6 +41,7 @@ class Config(object):
self.log = ctrl.log.get('Config')
self.values = {}
self.values['GCodeList'] = []
try:
self.version = "1.4.0"
@@ -62,6 +63,7 @@ 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: