Skip to content

Commit 9f407ae

Browse files
committed
Make PYTHONSTARTUP handling less obviously broken (thanks pyflakes!)
1 parent a4b366e commit 9f407ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bpython/urwid.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -469,9 +469,9 @@ def start(main_loop, user_data):
469469
if filename and os.path.isfile(filename):
470470
with open(filename, 'r') as f:
471471
if py3:
472-
self.interp.runsource(f.read(), filename, 'exec')
472+
interpreter.runsource(f.read(), filename, 'exec')
473473
else:
474-
self.interp.runsource(f.read(), filename, 'exec',
474+
interpreter.runsource(f.read(), filename, 'exec',
475475
encode=False)
476476

477477
if banner is not None:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy