From 1272ab1867ca4f7f5809bb4878974c06494547d7 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 15 Sep 2021 12:36:46 +0100 Subject: [PATCH] Show origin domain --- epicyon.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/epicyon.py b/epicyon.py index 322e47fd3..cf8f46e30 100644 --- a/epicyon.py +++ b/epicyon.py @@ -674,6 +674,8 @@ if args.posts: originDomain = getConfigParam(baseDir, 'domain') else: originDomain = args.domain + if debug: + print('originDomain: ' + str(originDomain)) if '@' not in args.posts: if '/users/' in args.posts: postsNickname = getNicknameFromActor(args.posts) @@ -877,6 +879,8 @@ if args.postsraw: originDomain = getConfigParam(baseDir, 'domain') else: originDomain = args.domain + if debug: + print('originDomain: ' + str(originDomain)) if '@' not in args.postsraw: print('Syntax: --postsraw nickname@domain') sys.exit()