Commit f8db01e4 authored by lixiaofang's avatar lixiaofang

add

parent 298095ef
......@@ -377,7 +377,8 @@ def get_current_card_content_level(card_info=[]):
data = list(zhengxing_cursor.fetchall())
if len(data) > 0:
return int(data[0][0])
if data[0][0]:
return int(data[0][0])
else:
return 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment