From 19ec2502e77ff0632821a00bd07cb5cc39df2c18 Mon Sep 17 00:00:00 2001 From: Keegi Date: Wed, 1 Jun 2011 18:05:28 +0300 Subject: [PATCH] Bugfix for .pronsolerc reading stripping code was wrong and unneeded --- pronsole.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pronsole.py b/pronsole.py index 2f63768..439b0d5 100644 --- a/pronsole.py +++ b/pronsole.py @@ -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."