Skip to content

Commit

Permalink
Adjust blank lines
Browse files Browse the repository at this point in the history
  • Loading branch information
kaylakraines committed Oct 20, 2023
1 parent 3ec582a commit 51571f9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/requirements/check_lightneuron_registered.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
from plugins.stockpile.app.requirements.base_requirement import BaseRequirement
from app.utility.base_service import BaseService


class Requirement(BaseRequirement):

async def enforce(self, link, operation):
"""
Given a link and the current operation, ensure the ability will only run if the
agent with the given ID/PAW is listed in the Agents tab on the Caldera Server GUI.
:param link
:param operation
:return: True if it complies, False if it doesn't
Expand All @@ -18,5 +18,4 @@ async def enforce(self, link, operation):
# In order to accomodate the Lightneuron implant ID
if uf.value.replace("@","") in agent_paws:
return True
return False

return False

0 comments on commit 51571f9

Please sign in to comment.