remove useless code.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
diff --git a/python/tsfile/schema.py b/python/tsfile/schema.py
index 90484a2..c62b0d0 100644
--- a/python/tsfile/schema.py
+++ b/python/tsfile/schema.py
@@ -104,7 +104,7 @@
if table_name is None or len(table_name) == 0:
raise ValueError("Table name cannot be None")
self.table_name = table_name.lower()
- if len(columns) == 0 or len(columns) == 0:
+ if len(columns) == 0:
raise ValueError("Columns cannot be empty")
self.columns = columns