.strip() client cert to remove needless newlines
This commit is contained in:
parent
d75d33c42c
commit
e048f61c73
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
|
|
||||||
cert_filename = self.bot.config["tls-certificate"]
|
cert_filename = self.bot.config["tls-certificate"]
|
||||||
with open(cert_filename) as cert_file:
|
with open(cert_filename) as cert_file:
|
||||||
cert = cert_file.read()
|
cert = cert_file.read().strip()
|
||||||
|
|
||||||
event["response"].content_type = ("application/ld+json; "
|
event["response"].content_type = ("application/ld+json; "
|
||||||
"profile=\"https://www.w3.org/ns/activitystreams\"")
|
"profile=\"https://www.w3.org/ns/activitystreams\"")
|
||||||
|
|
Loading…
Reference in a new issue