mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-03 14:04:51 +00:00
Reformat code
This commit is contained in:
parent
42fdb03d24
commit
1885acd594
1 changed files with 2 additions and 1 deletions
|
|
@ -413,7 +413,8 @@ def start(format: bool = False):
|
||||||
if flag.group(3) == "true" or flag.group(3).startswith("Vector"):
|
if flag.group(3) == "true" or flag.group(3).startswith("Vector"):
|
||||||
write_flags.append(f"{arg_name} |= (1 << {flag.group(2)}) if self.{i[0]} else 0")
|
write_flags.append(f"{arg_name} |= (1 << {flag.group(2)}) if self.{i[0]} else 0")
|
||||||
else:
|
else:
|
||||||
write_flags.append(f"{arg_name} |= (1 << {flag.group(2)}) if self.{i[0]} is not None else 0")
|
write_flags.append(
|
||||||
|
f"{arg_name} |= (1 << {flag.group(2)}) if self.{i[0]} is not None else 0")
|
||||||
|
|
||||||
write_flags = "\n ".join([
|
write_flags = "\n ".join([
|
||||||
f"{arg_name} = 0",
|
f"{arg_name} = 0",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue