Commit 19ec2502 authored by Keegi's avatar Keegi

Bugfix for .pronsolerc reading

stripping code was wrong and unneeded
parent 0c5ae5e6
......@@ -78,7 +78,7 @@ class pronsole(cmd.Cmd):
with open(os.path.join(os.path.expanduser("~"),".pronsolerc")) as rc:
for rc_cmd in rc:
if rc_cmd.lstrip()[0] != "#":
self.onecmd(rc_cmd.rstrip(r"\r\n"))
self.onecmd(rc_cmd)
except IOError:
pass
print "Welcome to the printer console! Type \"help\" for a list of available commands."
......
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