summaryrefslogtreecommitdiff
path: root/gstudio/methods.py
diff options
context:
space:
mode:
Diffstat (limited to 'gstudio/methods.py')
-rw-r--r--gstudio/methods.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/gstudio/methods.py b/gstudio/methods.py
index 2b6e0ee4..ad4bcee7 100644
--- a/gstudio/methods.py
+++ b/gstudio/methods.py
@@ -319,8 +319,7 @@ def get_time(sys_id):
def del_comment(comment_id):
ob = Gbobject.objects.get(id=int(comment_id))
for each in ob.posterior_nodes.all():
- a= each.id
- del_comment(a)
+ del_comment(each.id)
ob.delete()
return True