style: tiny style fixes
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
import asyncio
|
||||
import logging
|
||||
|
||||
import agentspeak
|
||||
import spade_bdi.bdi
|
||||
from spade.behaviour import OneShotBehaviour
|
||||
from spade.message import Message
|
||||
from spade_bdi.bdi import BDIAgent
|
||||
|
||||
@@ -60,7 +60,7 @@ class BeliefSetterBehaviour(CyclicBehaviour):
|
||||
for belief, arguments in beliefs.items():
|
||||
self.agent.bdi.set_belief(belief, *arguments)
|
||||
|
||||
# Special case: if there's a new user message, we need to flag that we haven't responded yet
|
||||
# Special case: if there's a new user message, flag that we haven't responded yet
|
||||
if belief == "user_said":
|
||||
try:
|
||||
self.agent.bdi.remove_belief("responded")
|
||||
|
||||
Reference in New Issue
Block a user