diff options
author | Elizabeth Myers <[email protected]> | 2017-09-16 10:09:32 -0500 |
---|---|---|
committer | Elizabeth Myers <[email protected]> | 2017-09-16 10:09:32 -0500 |
commit | 5b90a3c8302f7a13303f95d12eb3e3a7de635f4b (patch) | |
tree | e22c2be5167209c94dabcce77066f69bf09c7b6d /mastodon | |
parent | 6067aa460478f8cdc9cb1917f10cc0214a92f009 (diff) | |
download | mastodon.py-5b90a3c8302f7a13303f95d12eb3e3a7de635f4b.tar.gz |
Remove debugging print statements
Diffstat (limited to 'mastodon')
-rw-r--r-- | mastodon/Mastodon.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index 7b75776..1fb7d69 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py | |||
@@ -1177,7 +1177,6 @@ class Mastodon: | |||
1177 | # redirection, and then use the domain it gives us to do the final | 1177 | # redirection, and then use the domain it gives us to do the final |
1178 | # request. | 1178 | # request. |
1179 | if endpoint.startswith("/api/v1/streaming"): | 1179 | if endpoint.startswith("/api/v1/streaming"): |
1180 | print("Hi I'm streaming", endpoint) | ||
1181 | stream_base = self.api_base_url + "/api/v1/streaming" | 1180 | stream_base = self.api_base_url + "/api/v1/streaming" |
1182 | 1181 | ||
1183 | with __no_auth_strip_session() as session: | 1182 | with __no_auth_strip_session() as session: |
@@ -1188,7 +1187,6 @@ class Mastodon: | |||
1188 | raise MastodonNetworkError("Could not connect to streaming server: %s" % connection.reason) | 1187 | raise MastodonNetworkError("Could not connect to streaming server: %s" % connection.reason) |
1189 | 1188 | ||
1190 | url = connection.url.replace("/api/v1/streaming", endpoint) | 1189 | url = connection.url.replace("/api/v1/streaming", endpoint) |
1191 | print("Url redirected:", url) | ||
1192 | 1190 | ||
1193 | with __no_auth_strip_session() as session: | 1191 | with __no_auth_strip_session() as session: |
1194 | # Prevent stripping of authorisation headers on redirect | 1192 | # Prevent stripping of authorisation headers on redirect |