diff --git a/client_code/cluegen.py b/client_code/cluegen.py index 39ac91e..3149a5b 100644 --- a/client_code/cluegen.py +++ b/client_code/cluegen.py @@ -71,10 +71,12 @@ def __init_subclass__(cls): def __init__(cls): clues = all_clues(cls) args = ", ".join( - f"{name}={getattr(cls,name)!r}" - if hasattr(cls, name) - and not isinstance(getattr(cls, name), MemberDescriptorType) - else name + ( + f"{name}={getattr(cls,name)!r}" + if hasattr(cls, name) + and not isinstance(getattr(cls, name), MemberDescriptorType) + else name + ) for name in clues ) body = "\n".join(f" self.{name} = {name}" for name in clues)