Reformatted previous commit using Black.
This commit is contained in:
@@ -512,6 +512,6 @@ class OwncastSentry(Plugin):
|
|||||||
domain = (parsed_url.netloc or parsed_url.path).lower()
|
domain = (parsed_url.netloc or parsed_url.path).lower()
|
||||||
|
|
||||||
if "@" in domain:
|
if "@" in domain:
|
||||||
return domain.split('@')[-1]
|
return domain.split("@")[-1]
|
||||||
|
|
||||||
return domain
|
return domain
|
||||||
|
|||||||
Reference in New Issue
Block a user