added app=None, request=None
This commit is contained in:
@@ -55,8 +55,8 @@ class Config(object):
|
|||||||
except Exception: self.log.exception('Internal error: Failed to load config template')
|
except Exception: self.log.exception('Internal error: Failed to load config template')
|
||||||
|
|
||||||
def update_gcode_list(self):
|
def update_gcode_list(self):
|
||||||
reqHand=bbctrl.RequestHandler()
|
RequestHandler_Instance=bbctrl.RequestHandler(app=None, request=None)
|
||||||
self.values['gcodeList'] = reqHand.get_ctrl().state.return_files()
|
self.values['gcodeList'] = RequestHandler_Instance.get_ctrl().state.return_files()
|
||||||
|
|
||||||
|
|
||||||
def load(self):
|
def load(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user