fix: Remove parens
diff --git a/erpnext/projects/doctype/task/task.py b/erpnext/projects/doctype/task/task.py
index 6862971..84ee715 100755
--- a/erpnext/projects/doctype/task/task.py
+++ b/erpnext/projects/doctype/task/task.py
@@ -164,9 +164,9 @@
 			throw(_("Child Task exists for this Task. You can not delete this Task."))
 
 		if self.project:
-			tasks = (frappe.get_doc('Project', self.project)).tasks
+			tasks = frappe.get_doc('Project', self.project).tasks
 			for task in tasks:
-				if (task.get('task_id') == self.name):
+				if task.get('task_id') == self.name:
 					frappe.delete_doc('Project Task', task.name)