Boolean return

main
Bob Mottram 2021-04-22 11:54:49 +01:00
parent 91c955006a
commit 01ae322139
1 changed files with 1 additions and 1 deletions

View File

@ -2207,7 +2207,7 @@ def loadTranslationsFromFile(baseDir: str, language: str) -> ({}, str):
def dmAllowedFromDomain(baseDir: str,
nickname: str, domain: str,
sendingActorDomain: str):
sendingActorDomain: str) -> bool:
"""When a DM is received and the .followDMs flag file exists
Then optionally some domains can be specified as allowed,
regardless of individual follows.