Merge branch 'master' of github.com:kliment/Printrun
commit
69b0eed171
|
@ -1,5 +1,5 @@
|
|||
# Sample .pronsolerc file - copy this into your home directory
|
||||
alias up move Z 10
|
||||
alias loud !self.loud = 1
|
||||
alias quiet !self.loud = 0
|
||||
alias loud !self.p.loud = 1
|
||||
alias quiet !self.p.loud = 0
|
||||
alias home_all G28
|
||||
|
|
|
@ -132,7 +132,7 @@ class pronsole(cmd.Cmd):
|
|||
try:
|
||||
with open(os.path.join(os.path.expanduser("~"),".pronsolerc")) as rc:
|
||||
for rc_cmd in rc:
|
||||
if rc_cmd.lstrip()[0] != "#":
|
||||
if not rc_cmd.lstrip().startswith("#"):
|
||||
self.onecmd(rc_cmd)
|
||||
except IOError:
|
||||
pass
|
||||
|
|
Loading…
Reference in New Issue