Skip to content

Commit

Permalink
Apply event hook on dn events
Browse files Browse the repository at this point in the history
  • Loading branch information
panisson committed Nov 9, 2012
1 parent df1cc95 commit a07a1cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygephi/client.py
Expand Up @@ -68,7 +68,7 @@ def change_node(self, id, flush=True, **attributes):
if(self.autoflush): self.flush()

def delete_node(self, id):
self._send(json.dumps({"dn":{id:{}}}) + '\r\n')
self._send(json.dumps(self.peh({"dn":{id:{}}})) + '\r\n')

def add_edge(self, id, source, target, directed=True, **attributes):
attributes['source'] = source
Expand Down

0 comments on commit a07a1cf

Please sign in to comment.