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 9d6dd7d commit 44d2319
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion saspy/sasbase.py
Original file line number Diff line number Diff line change
Expand Up @@ -936,7 +936,7 @@ def submit(self, code: str, results: str = '', prompt: dict = None, printto=Fals
else:
results = self.results

ll = self._io.submit(code, results, prompt, undo=printto, **kwargs)
ll = self._io.submit(code, results, prompt, undo=printto, cancel=True, **kwargs)

if self.sascfg.colorLOG:
clog = highlight(ll['LOG'], SASLogLexer(), HtmlFormatter(full=True, style=SASLogStyle, lineseparator="<br>"))
Expand Down

0 comments on commit 44d2319

Please sign in to comment.