Configtool: move board/printer.metadata to configtool/ ...

and rename it to board/printer.generic.h.
This commit is contained in:
Markus Hitter 2015-07-16 19:16:20 +02:00
parent 6b5156d459
commit cd1eb4e250
4 changed files with 4 additions and 4 deletions

View File

@ -40,7 +40,7 @@ class BoardPanel(wx.Panel):
self.candHeatPins = []
self.candThermPins = []
self.dir = os.path.join(self.settings.folder, "config")
self.cfgDir = os.path.join(self.settings.folder, "config")
self.cfgDir = os.path.join(self.settings.folder, "configtool")
self.SetBackgroundColour(self.deco.getBackgroundColour())
self.Bind(wx.EVT_PAINT, self.deco.onPaintBackground)
@ -221,7 +221,7 @@ class BoardPanel(wx.Panel):
return
def loadConfigFile(self, fn):
cfgFn = os.path.join(self.cfgDir, "board.metadata")
cfgFn = os.path.join(self.cfgDir, "board.generic.h")
try:
self.cfgBuffer = list(open(cfgFn))
except:

View File

@ -29,7 +29,7 @@ class PrinterPanel(wx.Panel):
self.cfgValues = {}
self.heaters = []
self.dir = os.path.join(self.settings.folder, "config")
self.cfgDir = os.path.join(self.settings.folder, "config")
self.cfgDir = os.path.join(self.settings.folder, "configtool")
self.SetBackgroundColour(self.deco.getBackgroundColour())
self.Bind(wx.EVT_PAINT, self.deco.onPaintBackground)
@ -182,7 +182,7 @@ class PrinterPanel(wx.Panel):
return
def loadConfigFile(self, fn):
cfgFn = os.path.join(self.cfgDir, "printer.metadata")
cfgFn = os.path.join(self.cfgDir, "printer.generic.h")
try:
self.cfgBuffer = list(open(cfgFn))
except: