Skip to content

Commit 2fcc36f

Browse files
Debug help printing message
1 parent 8e823be commit 2fcc36f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

pt_cli/connect.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,8 @@ def maybe_json(self, data):
132132
if isinstance(data, str):
133133
soup = bs4.BeautifulSoup(data, features="html5lib")
134134
if soup.get_text().startswith("----------"):
135-
sys.stdout.write(soup.get_text())
135+
# No more printing here otherwise it gets printed twice and without proper parsing
136+
pass
136137
elif soup.get_text().startswith("Welcome"):
137138
sys.stdout.write(soup.get_text())
138139
else:

0 commit comments

Comments
 (0)