Skip to content

Commit 3a86eae

Browse files
committed
Do not throw if PYTHONSTARTUPFILE does not exists (fixes bpython#438)
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
1 parent c6d7d85 commit 3a86eae

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

bpython/curtsiesfrontend/repl.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -420,8 +420,6 @@ def startup(self):
420420
self.interp.runsource(f.read(), filename, 'exec')
421421
else:
422422
self.interp.runsource(f.read(), filename, 'exec')
423-
else:
424-
raise IOError("Python startup file (PYTHONSTARTUP) not found at %s" % filename)
425423

426424
def clean_up_current_line_for_exit(self):
427425
"""Called when trying to exit to prep for final paint"""

0 commit comments

Comments
 (0)