main
Bob Mottram 2024-05-08 11:47:04 +01:00
parent 0b154ddf69
commit ab7c0971e7
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ def receive_accept_reject(base_dir: str, domain: str, message_json: {},
onion_domain: str, i2p_domain: str) -> bool: onion_domain: str, i2p_domain: str) -> bool:
"""Receives an Accept or Reject within the POST section of HTTPServer """Receives an Accept or Reject within the POST section of HTTPServer
""" """
if message_json['type'] != 'Accept' and message_json['type'] != 'Reject': if message_json['type'] not in ('Accept', 'Reject'):
return False return False
if not has_actor(message_json, debug): if not has_actor(message_json, debug):
return False return False