Parcourir la source

add type to status reporting

David il y a 10 ans
Parent
commit
d12c394aae
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      pmanager/pmanager.py

+ 1 - 1
pmanager/pmanager.py

@@ -80,7 +80,7 @@ class PManager:
             if j["command"] == "netcat":
                 sendmsg(j["key"])
             if j["command"] == "status": #and j["key"] == self.name:
-                self.send({"type": "snowmix", "name": self.name, "data":self.p_list})
+                self.send({"type": "snowmix", "type": "statusreport", "name": self.name, "data":self.p_list})
 
     def send(self, data):
         try: