Skip to content
Snippets Groups Projects
Unverified Commit ebdef256 authored by Dan Callahan's avatar Dan Callahan Committed by GitHub
Browse files

Remove superfluous call to bool() (#9986)


Our strtobool already returns a bool, so no need to re-cast here

Signed-off-by: default avatarDan Callahan <danc@element.io>
parent bd918d87
No related branches found
No related tags found
No related merge requests found
Simplify a few helper functions.
......@@ -349,4 +349,4 @@ class RegistrationConfig(Config):
def read_arguments(self, args):
if args.enable_registration is not None:
self.enable_registration = bool(strtobool(str(args.enable_registration)))
self.enable_registration = strtobool(str(args.enable_registration))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment