We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e823be commit 2fcc36fCopy full SHA for 2fcc36f
1 file changed
pt_cli/connect.py
@@ -132,7 +132,8 @@ def maybe_json(self, data):
132
if isinstance(data, str):
133
soup = bs4.BeautifulSoup(data, features="html5lib")
134
if soup.get_text().startswith("----------"):
135
- sys.stdout.write(soup.get_text())
+ # No more printing here otherwise it gets printed twice and without proper parsing
136
+ pass
137
elif soup.get_text().startswith("Welcome"):
138
sys.stdout.write(soup.get_text())
139
else:
0 commit comments