diff options
author | Amber Brown <hawkowl@atleastfornow.net> | 2018-12-03 22:27:41 +1100 |
---|---|---|
committer | Amber Brown <hawkowl@atleastfornow.net> | 2018-12-03 22:27:41 +1100 |
commit | d3c61ef906abbbad0c9d420e8e206020c627902d (patch) | |
tree | a90c1aba68d88498d610e09369433754157f2ca6 /synapse/rest/client | |
parent | Workaround for non-ascii event ids (#4241) (diff) | |
download | synapse-d3c61ef906abbbad0c9d420e8e206020c627902d.tar.xz |
fix type error
Diffstat (limited to 'synapse/rest/client')
-rw-r--r-- | synapse/rest/client/v1/pusher.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v1/pusher.py b/synapse/rest/client/v1/pusher.py index b84f0260f2..4c07ae7f45 100644 --- a/synapse/rest/client/v1/pusher.py +++ b/synapse/rest/client/v1/pusher.py @@ -142,7 +142,7 @@ class PushersRemoveRestServlet(RestServlet): To allow pusher to be delete by clicking a link (ie. GET request) """ PATTERNS = client_path_patterns("/pushers/remove$") - SUCCESS_HTML = "<html><body>You have been unsubscribed</body><html>" + SUCCESS_HTML = b"<html><body>You have been unsubscribed</body><html>" def __init__(self, hs): super(PushersRemoveRestServlet, self).__init__() |