Commit 68793b06 authored by kliment's avatar kliment

Merge pull request #26 from k-eex/master

"set" command to store persistent variables for preferences
parents e3dabb54 3de92320
This diff is collapsed.
...@@ -44,12 +44,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole): ...@@ -44,12 +44,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
self.statuscheck=False self.statuscheck=False
self.tempreport="" self.tempreport=""
self.monitor=0 self.monitor=0
self.feedxy=3000
self.feedz=200
self.feede=300
self.paused=False self.paused=False
self.temps={"pla":"210","abs":"230","off":"0"}
self.bedtemps={"pla":"60","abs":"110","off":"0"}
xcol=(245,245,108) xcol=(245,245,108)
ycol=(180,180,255) ycol=(180,180,255)
zcol=(180,255,180) zcol=(180,255,180)
...@@ -89,7 +84,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole): ...@@ -89,7 +84,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
customdict={} customdict={}
try: try:
execfile("custombtn.txt",customdict) execfile("custombtn.txt",customdict)
self.custombuttons=customdict["btns"] self.custombuttons+=customdict["btns"]
except: except:
pass pass
self.popmenu() self.popmenu()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment