Leading @

master
Bob Mottram 2019-08-24 10:43:42 +01:00
parent a3b6206481
commit 464f4f0790
1 changed files with 6 additions and 1 deletions

View File

@ -803,6 +803,11 @@ if args.dat:
httpPrefix='dat'
if args.actor:
if '@' not in args.actor:
print('Syntax: --actor nickname@domain')
sys.exit()
if args.actor.startswith('@'):
args.actor=args.actor[1:]
if '@' not in args.actor:
print('Syntax: --actor nickname@domain')
sys.exit()