From fabbc3ac7a6a39dbb6c44512ec4bf17ac2745126 Mon Sep 17 00:00:00 2001 From: Noah Date: Sat, 9 Jul 2022 19:03:31 +0100 Subject: chore: Reformat code --- discord/flags.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'discord/flags.py') diff --git a/discord/flags.py b/discord/flags.py index 65a9253..6f2ace7 100644 --- a/discord/flags.py +++ b/discord/flags.py @@ -24,6 +24,7 @@ def get_number(flags: list[Flags]): number += i.value return number + def get_flags(number: int): flags = [] while number != 0: @@ -32,4 +33,3 @@ def get_flags(number: int): flags.append(i) number -= i.value return flags - -- cgit 1.4.1-2-gfad0