Skip to content

Commit

Permalink
terminal warning
Browse files Browse the repository at this point in the history
  • Loading branch information
marcin-usielski committed Nov 20, 2024
1 parent 2e52bc9 commit fdcbd60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moler/io/raw/terminal.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def _verify_shell_is_operable(self, data):
):
self._notify_on_connect()
self._shell_operable.set()
data = re.sub(self.target_prompt, "", self.read_buffer, re.MULTILINE)
data = re.sub(pattern=self.target_prompt, repl="", string=self.read_buffer, flags=re.MULTILINE)
self.data_received(data=data, recv_time=datetime.datetime.now())
elif not self._export_sent and re.search(
self.first_prompt, self.read_buffer, re.MULTILINE
Expand Down

0 comments on commit fdcbd60

Please sign in to comment.