style fix

This commit is contained in:
wh1te909 2020-11-24 21:09:15 +00:00
parent 39fc1beb89
commit 68dfb11155
1 changed files with 1 additions and 5 deletions

View File

@ -149,11 +149,7 @@ class Agent(BaseAuditModel):
@property
def has_patches_pending(self):
if self.winupdates.filter(action="approve").filter(installed=False).exists():
return True
else:
return False
return self.winupdates.filter(action="approve").filter(installed=False).exists()
@property
def checks(self):