Skip to content

Commit 68df142

Browse files
benkrigsebastinas
authored andcommitted
fix exit code issue
1 parent 3bd1c25 commit 68df142

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bpython/curtsiesfrontend/coderunner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def _blocking_run_code(self):
183183
try:
184184
unfinished = self.interp.runsource(self.source)
185185
except SystemExit as e:
186-
return SystemExitRequest(e.args)
186+
return SystemExitRequest(*e.args)
187187
return Unfinished() if unfinished else Done()
188188

189189
def request_from_main_context(self, force_refresh=False):

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