tiny code simplification

This commit is contained in:
fdev31 2023-07-30 00:14:56 +02:00
parent ca11f373d5
commit d48a3f4154

View file

@ -26,7 +26,6 @@ class Extension(Plugin):
def exposed_clients(self): def exposed_clients(self):
if self.config.get("include_special", False): if self.config.get("include_special", False):
return self.exposed return self.exposed
else:
return [c for c in self.exposed if c["workspace"]["id"] > 0] return [c for c in self.exposed if c["workspace"]["id"] > 0]
async def run_expose(self): async def run_expose(self):