diff --git a/modules/base/pymod/table.py b/modules/base/pymod/table.py
index 8795799ce95aa0aa1a0e5d1579cfd20790732cf7..e3e9a56cb9f934aca34d7be3bb26f4cab8c7ce4b 100644
--- a/modules/base/pymod/table.py
+++ b/modules/base/pymod/table.py
@@ -657,7 +657,7 @@ class Table(object):
         for row, d in zip(self.rows, data):
           row.append(d)
 
-    elif data!=None and len(self.col_names)==0:
+    elif data!=None and len(self.col_names)==1:
       if IsScalar(data):
         self.AddRow({col_name : data})
       else: