diff --git a/space_view3d_copy_attributes.py b/space_view3d_copy_attributes.py
index f825ba7d69a68fe5165cb7d50dba15e4e65b1388..4a15939813da1ba09d50c0898d6514f1a72d5f40 100644
--- a/space_view3d_copy_attributes.py
+++ b/space_view3d_copy_attributes.py
@@ -418,7 +418,7 @@ def obWei(ob, active, context):
                         groups = ob.vertex_groups
                         for vgs in range(0, len(groups)):
                             if groups[vgs].name == groupName:
-                                ob.vertex_groups.assign(v.index, groups[vgs],
+                                ob.vertex_groups.assign((v.index,), groups[vgs],
                                    vgroupIndex_weight[i][1], "REPLACE")
     return('INFO', "weights copied")