Skip to content

Commit 6fb64d6

Browse files
committed
minor fix
1 parent 4e76704 commit 6fb64d6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

python_scripts/get_gender_table.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ def get_data(start_date=None, output=sys.stdout, family="wikipedia"):
112112
cursor.execute(edit_count)
113113
result_set = cursor.fetchone()
114114
res["total_edits"] = result_set[0]
115+
if not res["total_edits"]:
116+
continue
115117
try:
116118
if start_date:
117119
cursor.execute(gender_count_reg, (start_date, ))

0 commit comments

Comments
 (0)