Skip to content

Commit

Permalink
limit cancel to submit methods
Browse files Browse the repository at this point in the history
  • Loading branch information
tomweber-sas committed Mar 19, 2024
1 parent 44d2319 commit 5ddf524
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions saspy/sasiohttp.py
Original file line number Diff line number Diff line change
Expand Up @@ -1189,6 +1189,7 @@ def submit(self, code: str, results: str ="html", prompt: dict = None, **kwargs)
req = conn.getresponse()
resp = req.read()
conn.close()
print('Canceled submitted statements\n')
break
if response is None or response.upper() == 'Q':
return dict(LOG='', LST='')
Expand Down

0 comments on commit 5ddf524

Please sign in to comment.