From e5831ff536668c94f108435395550f6339452ed6 Mon Sep 17 00:00:00 2001 From: parmentelat Date: Fri, 14 Dec 2018 13:07:07 +0100 Subject: [PATCH] fixed bug introduced when porting to py3 --- plcsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plcsh b/plcsh index 6b076198..15a42a5c 100755 --- a/plcsh +++ b/plcsh @@ -87,7 +87,7 @@ if args: path = os.path.dirname(os.path.abspath(script)) sys.path.append(path) with open(script) as feed: - exec(script.read()) + exec(feed.read()) # Otherwise, run an interactive shell environment else: -- 2.47.0