@@ -96,11 +96,12 @@ class ConnHandlerBeeWatch(digilib.network.ConnHandlerBase):
if cmd in ttf.keys():
try:
task = curio.run(
- ttf[cmd],
- # self.bee_api,
- args=args,
- command=cmd,
- respond=self.respond,
+ ttf[cmd](
+ # self.bee_api,
+ args=args,
+ command=cmd,
+ respond=self.respond,
+ )
)
except Exception as e:
lserver.error("Error while calling api func",exc_info=e)