From e77cf39f4caf4244dc7fac2bb982e26d7841d547 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 2 Jul 2019 10:57:06 +0100 Subject: [PATCH] https on repeats may differ --- announce.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/announce.py b/announce.py index 00a6132b4..acbab41a1 100644 --- a/announce.py +++ b/announce.py @@ -63,11 +63,11 @@ def announcePublic(baseDir: str,username: str, domain: str, port: int, https: bo ccUrl = prefix + '://'+fromDomain+'/users/'+username+'/followers' return createAnnounce(baseDir,username, domain, port,toUrl, ccUrl, https, objectUrl, saveToFile) -def repeatMessage(baseDir: str,username: str, domain: str, port: int, announceUsername: str, announceDomain: str, announcePort: int, announceStatusNumber: int, https: bool, saveToFile: bool) -> {}: +def repeatMessage(baseDir: str,username: str, domain: str, port: int, https: bool, announceUsername: str, announceDomain: str, announcePort: int, announceStatusNumber: int, announceHttps: bool, saveToFile: bool) -> {}: """Repeats a given status message """ prefix='https' - if not https: + if not announceHttps: prefix='http' announcedDomain=announceDomain