PEP 8 compliance.
This commit is contained in:
parent
5e188573a0
commit
98d09db5e8
1 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,8 @@ class List(dcc.config.ListerBase):
|
||||||
case "iwads":
|
case "iwads":
|
||||||
return (
|
return (
|
||||||
("iwads",), sorted(
|
("iwads",), sorted(
|
||||||
(x.name,) for x in os.scandir(self.iwads) if x.is_file()
|
(x.name,) for x in
|
||||||
|
os.scandir(self.iwads) if x.is_file()
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
case "demos":
|
case "demos":
|
||||||
|
@ -31,7 +32,6 @@ class List(dcc.config.ListerBase):
|
||||||
if x.name.endswith(".lmp")
|
if x.name.endswith(".lmp")
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
case "videos":
|
case "videos":
|
||||||
return (
|
return (
|
||||||
("videos",), sorted(
|
("videos",), sorted(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue